Shell到Word并加载特定文档 [英] Shell to Word and load a specific document

查看:164
本文介绍了Shell到Word并加载特定文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从Access下载到Microsoft Word并加载特定的

模板 - 使用VBA?


dixie

Is there a way to shell to Microsoft Word from Access and load a specific
template - using VBA?

dixie

推荐答案



Dixie写道:

Dixie wrote:

有没有办法向Microsoft发送shell来自Access的Word并加载一个特定的

模板 - 使用VBA?

dixie
Is there a way to shell to Microsoft Word from Access and load a specific
template - using VBA?

dixie



赞这:
http://www.mvps.org/ access / modules / mdl0043.htm

Like this:
http://www.mvps.org/access/modules/mdl0043.htm


或者,您可以使用简单的Shell命令


呼叫Shell(C:\ program Files \ Microsoft Office \ Office11 \ winword.exe

h:\ templates\templatetest.dot,1)


只需更改路径名即可。


Dixie写道:
Or, you could use the simple Shell command

Call Shell("C:\program files\Microsoft Office\Office11\winword.exe
h:\templates\templatetest.dot", 1)

Just change the pathname to suit.

Dixie wrote:

有没有办法壳到Micr来自Access的osoft Word并加载一个特定的

模板 - 使用VBA?

dixie
Is there a way to shell to Microsoft Word from Access and load a specific
template - using VBA?

dixie


或者可能


Application.followhyperlink" h:\ templates\templatetest.dot"

or possibly

Application.followhyperlink "h:\templates\templatetest.dot"


这篇关于Shell到Word并加载特定文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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