LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default AutoExec Code to Open Template Dialogue on Startup

I am experimenting with macros.........
I use the following macro to open the Word Template Dialog.

Sub AutoExec()
'
' AutoExec Macro to open the template Dialogue Box
' Macro created 25/02/2006 by Dermot Hayes
'
Dialogs(wdDialogFileNew).Show

End Sub

Question 1
Can anyone tell me the appropriate code to open the Excel Template Dialog?

Question 2
Where will I get a list of Excel command as they are used within code...i.e
wdDialogFileNew as use in the Word example above?

Question 3
Any general advice / links regarding useful Excel macros to consider
incorporating in excel spreadsheets?
 
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
When i open excel on the start dialogue, it does not open. lemon8 Setting up and Configuration of Excel 1 December 14th 05 05:37 AM
Excel/Word startup: 'Compile error in hidden module: AutoExec' ?? dozer Excel Discussion (Misc queries) 1 September 17th 05 01:55 AM
How do you open a template at startup? James Kendall Excel Discussion (Misc queries) 7 July 26th 05 07:33 PM
Need VBA code for "Open Dialogue" box Brent E Excel Discussion (Misc queries) 2 February 8th 05 04:23 AM
Excel template-run code on open Cindy Excel Programming 0 January 28th 04 04:19 PM


All times are GMT +1. The time now is 10:21 AM.

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

About Us

"It's about Microsoft Excel"