Opening a template from vba

  • Thread starter Santiago Torras
  • Start date
S

Santiago Torras

How can I open a template from VBA (and get its associated vba code executed)?

I want to create a new document, based on that template, all this from vba
code....
 
J

Jeffery B Paarsa

How can I open this Template but do not execute AutoNew macro but execute a
subroutine for populating fields that I already have collected. I don't want
the UserForm1 to be displayed to the user just execute a sub within the new
doc for populating the already collected info.
 
R

Russ

Jeff,
It might be easier to duplicate your needed template and delete the portions
you don't want, such as the AutoNew subroutine. Then attach that new
template to have the subroutines available that you require.
 

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