Opening document based on template

B

Bob

What VBA code opens a document based on a template?

Documents.Open ("F:\BHF\Whatever.dot")
Of course just opens the template.

Templates("F:\BHF\Whatever.dot").OpenAsDocument
Creates an error.

Thanks for any help,

Bob
 
D

Dave Lett

Hi Bob,

You can use something like the following

Documents.Add Template:="F:\BHF\Whatever.dot"

HTH,
Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top