Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default auto open macro when opening from template

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Opening for Macro Norm Excel Programming 4 June 1st 07 10:04 AM
On opening a file auto open another Kevryl Excel Programming 4 May 15th 07 08:53 AM
auto prompt file insert object when opening a template romeeko Excel Programming 1 August 15th 06 03:38 AM
Auto open a .xlt template Khoa New Users to Excel 2 July 26th 06 06:54 AM
open up an excel program with an auto open macro [email protected] Excel Programming 2 July 17th 05 04:48 PM


All times are GMT +1. The time now is 06:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"