没有合适的资源?快使用搜索试试~ 我知道了~
office2010 OneNote VBA / VB 官方范例 3
需积分: 9 6 下载量 126 浏览量
2012-11-10
07:59:40
上传
评论 1
收藏 2KB TXT 举报
温馨提示
试读
2页
OneNote.fromVBA.DockWindow Dim oneNote As OneNote14.Application Set oneNote = New OneNote14.Application
资源推荐
资源详情
资源评论
Option Explicit
' OneNote 2010
' Demonstrates the Window object.
' Use any VBA host including Excel 2010, PowerPoint 2010,
' or Word 2010.
' OneNote 2010 is not a VBA host.
' In your VBA host, add references to the following
' external libraries using the Add References dialog:
' Microsoft OneNote 14.0 Object Library
' OneNote 2010 provides the ability to interact with
' the open OneNote user interface.
' DockOneNoteWindow retrieves the current Window.
' If the current window is not a SideNote window, it checks
' to see if the Window is not docked.
' If it's not, it's docked to the right of the screen.
' Otherwise the Window is undocked.
' Paste all this code into a module.
' Start OneNote 2010.
' Then place the cursor within the
' DockOneNoteWindow procedure,
' and press F5.
Public Sub DockOneNoteWindow()
' Connect to OneNote 2010.
' OneNote 2010
' Demonstrates the Window object.
' Use any VBA host including Excel 2010, PowerPoint 2010,
' or Word 2010.
' OneNote 2010 is not a VBA host.
' In your VBA host, add references to the following
' external libraries using the Add References dialog:
' Microsoft OneNote 14.0 Object Library
' OneNote 2010 provides the ability to interact with
' the open OneNote user interface.
' DockOneNoteWindow retrieves the current Window.
' If the current window is not a SideNote window, it checks
' to see if the Window is not docked.
' If it's not, it's docked to the right of the screen.
' Otherwise the Window is undocked.
' Paste all this code into a module.
' Start OneNote 2010.
' Then place the cursor within the
' DockOneNoteWindow procedure,
' and press F5.
Public Sub DockOneNoteWindow()
' Connect to OneNote 2010.
资源评论
zhanlingyun
- 粉丝: 3
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功