Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2006

Tip: Looking for answers? Try searching our database.

Open dot as doc with macro or link

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cindy - 29 Oct 2003 14:52 GMT
Hello all, need some help with this one.

Is there a way to insert VBA code or a link in a Word
document that would open a document template (dot file) as
a new document when executed? This would need to work on
Word 97 machines and above.

All input is appreciated.

TIA
Cindy
Doug Robbins - Word MVP - 30 Oct 2003 14:41 GMT
Hi Cindy,

The code to create a new document from a template is

Documents.Add "Drive:\Path\TemplateName.Dot"

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
> Hello all, need some help with this one.
>
[quoted text clipped - 7 lines]
> TIA
> Cindy
Lumpjaw - 16 Aug 2006 00:34 GMT
Greetings,

I am fairly new to this concept, so I will give the scenario and the the
problem.

I have 3 word documents; letter1.doc, letter2.doc, letter3.doc
In each of these three documents I have a text form field called 'job
number'.
Can I write a VB program that will ask a user for a job number, and then
insert that number in each of the three documents, if so, how?

Thanks.

-lumpjaw
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.