请教怎么用vb代码实现在word菜单中的"文件另存为"的功能,即:打开存储选择窗口,选择保存位置后自动保存. 如果只是另存为的话,你不一定要调用word里面的,只要通过vb的dialog控件另存就可以了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我是用代码实现打开word一文档,同时显示另存为窗口的 dim wdapp As Word.Application...wdapp.ActiveWindow.Application.CommandBars("file").Controls.Item(5).Execute OR:wdapp.ActiveWindow.Application.CommandBars("file").Controls.Item("另存为(&A)...").Execute dialogs(wdDialogFileSaveAs).show不过需要捕获Cancel即on error resume nextdialogs(wdDialogFileSaveAs).showCancel 的err.number=4198 皮皮书屋犀利的注册验证码,想盗取过来,谁有兴趣? vb操作word表格问题大家看看 一个看似简单的多项分类查询 很郁闷的问题 Pct_add.Left Left属性要不要除以象素 怎么控制treeview的竖直滚动条,让他到合适的位置 vb就写不出不用安装的程序吗? 从新制作程序的问题 两个日期如何进行计算?? 在VB中查询Access数据库将记录结果写入EXCEL打印 如何判断一个程序已经完成或一段录像已经播放完闭? 关于打印的问题 数据库删除,急 急 急!
...
wdapp.ActiveWindow.Application.CommandBars("file").Controls.Item(5).Execute
wdapp.ActiveWindow.Application.CommandBars("file").Controls.Item("另存为(&A)...").Execute
不过需要捕获Cancel
即
on error resume next
dialogs(wdDialogFileSaveAs).show
Cancel 的err.number=4198