我想运行一个宏来打开一个特定的文件夹,让我插入我选择的单词doc的文本 [英] I want to run a macro to open up a specific folder and let me INSERT the text of a word doc I select

查看:50
本文介绍了我想运行一个宏来打开一个特定的文件夹,让我插入我选择的单词doc的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以打开我想要的位置。但我唯一的选择是打开我选择的文件。我想将该文本插入当前文档。

I can get it to open the location I want. But my only option is to open the file I selected. I want to insert that text into the current doc.

Sub OpenFolder()

Sub OpenFolder()

推荐答案


我可以打开我想要的位置。但我唯一的选择是打开我选择的文件。我想将该文本插入当前文档。

I can get it to open the location I want. But my only option is to open the file I selected. I want to insert that text into the current doc.

Sub OpenFolder()

Sub OpenFolder()

好吧,如果你想在VB.Net中编程,那么你会以编程方式打开我相信并以编程方式插入文本的Microsoft Word对象。然而,在我看来,你正在为MS Word编程一个宏或者其他什么,这个论坛不会是
。如果您想在VB脚本论坛中提问,那么该论坛就在这里

JScript和Scripting
可能或者可能在这里
官方脚本专家论坛!
或者其他地方。

Well if you want to program in VB.Net then you would programmatically open a Microsoft Word Object I believe and programmatically insert text. However it looks to me like you are programming a Macro for MS Word or something else which this forum would not be for. If you want to ask questions in a VB Script forum then that forum is here JScript and Scripting possibly or maybe here The Official Scripting Guys Forum! or maybe somewhere else.

也许这个论坛也是
Visual Basic for Applications(VBA)

请看此链接< a href ="https://msdn.microsoft.com/en-us/library/t0aew7h6(v=vs.84).aspx">
VBScript 并查看用户指南的链接和页面左侧的语言参考。

And please see this link VBScript and see the links for the user guide and language reference on the left side of the page.


这篇关于我想运行一个宏来打开一个特定的文件夹,让我插入我选择的单词doc的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆