View Single Post
 
Old 03-06-2016, 04:15 PM
highrise955 highrise955 is offline Windows 10 Office 2013
Advanced Beginner
 
Join Date: Mar 2016
Posts: 37
highrise955 is on a distinguished road
Default VBA Code in template does not run in new document

Hi all,

Just looking to get pointed in the right direction here. I created a template that starts with a userform which populates the template. Everything works great when I "Open" the document. However, when I select "New" for the template and it generates a new document based on the template (probably not using the proper nomenclature here, but I am guessing/hoping you know what I mean) the userform/code does not run.

I'm assuming I created the code in the wrong place to have it "inherit" to the spawned documents but I just can't figure out where it should go.

Any help would be appreciated.
Reply With Quote