View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default AutoExec Code to Open Template Dialogue on Startup

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

Excel doesn't use templates like Word, so there probably isn't one

But the commands to show builtin dialogs are similar

Application.Dialogs(xldialogprint).Show

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?

Use the object explorer in the VBE, same as in word

Question 3
Any general advice / links regarding useful Excel macros to consider
incorporating in excel spreadsheets?

This group
http://www.cpearson.com/Excel.htm
see the topics and pages index (Chip Pearson)

http://www.j-walk.com/ss/excel (John Walkenback)
see Tips/ developer tips

http://www.contextures.com/tiptech.html (Debra Dalgleish's site)

Obviously the more you know about Excel itself, the better you will be able
to program its capabilities.

--
Regards,
Tom Ogilvy




"Dermot" wrote in message
...
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?