没有合适的资源?快使用搜索试试~ 我知道了~
office2010 OneNote VBA / VB 官方范例 5
需积分: 31 7 下载量 146 浏览量
2012-11-10
08:01:14
上传
评论 1
收藏 3KB TXT 举报
温馨提示
试读
3页
OneNote.fromVBA.GetPageviaQuickFilingDialog Dim oneNote As OneNote14.Application Set oneNote = New OneNote14.Application
资源推荐
资源详情
资源评论
Option Explicit
' OneNote 2010
' Demonstrate the QuickFiling method.
' 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
' This sample has two blocks of code.
' To add Block 1, you first Insert a VBA Class Module.
' Change the (Name) of the class to QFHandler.
' Mark the Instancing property of the class as 2-PublicNotCreatable.
' Then place the contents of Block 1 into the class
' you created and configured.
' Add Block 2 to the default module of your VBA host.
' To run the sample, place the cursor within the
' RunQuickFilingDemo procedure, and press F5.
' You will need to minimize the VBA host to see
' the OneNote dialog.
' *** Begin Block 1 ***
Option Explicit
' OneNote 2010
' Demonstrate the QuickFiling method.
' 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
' This sample has two blocks of code.
' To add Block 1, you first Insert a VBA Class Module.
' Change the (Name) of the class to QFHandler.
' Mark the Instancing property of the class as 2-PublicNotCreatable.
' Then place the contents of Block 1 into the class
' you created and configured.
' Add Block 2 to the default module of your VBA host.
' To run the sample, place the cursor within the
' RunQuickFilingDemo procedure, and press F5.
' You will need to minimize the VBA host to see
' the OneNote dialog.
' *** Begin Block 1 ***
Option Explicit
资源评论
zhanlingyun
- 粉丝: 3
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功