PC Review


Reply
Thread Tools Rate Thread

auto open macro when opening from template

 
 
nannon8
Guest
Posts: n/a
 
      30th Jul 2007
I have a template saved as an .xlt file.

I want a userform to automatically load when a document is created
from the template by double clicking on it or opening using file and
new. The Userform is only needed when the new document is created.

I have entered an auto open section in a module, and although this
works when I open the template itself, I get a run time error when I
try to open a new document from the template.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save As Macro on Opening Template Silena K-K Microsoft Word Document Management 4 15th Jul 2009 11:22 PM
Auto text, template or macro? =?Utf-8?B?U3VzYQ==?= Microsoft Word Document Management 3 3rd Aug 2007 06:14 AM
auto prompt file insert object when opening a template =?Utf-8?B?cm9tZWVrbw==?= Microsoft Excel Programming 1 15th Aug 2006 03:38 AM
Auto open a .xlt template =?Utf-8?B?S2hvYQ==?= Microsoft Excel New Users 2 26th Jul 2006 06:54 AM
Auto number upon opening template =?Utf-8?B?c2xpbW1vbnM=?= Microsoft Word Document Management 7 15th Mar 2006 12:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:56 PM.