G
Guest
I have been experimenting with Word macros to understand them. Could someone
advise me on the following questions.
Using the following macro opens the Word template dialog.
Sub AutoExec()
'
' AutoExec Macro to open the template Dialogue Box
'
Dialogs(wdDialogFileNew).Show
End Sub
Question 1
I have tried to modify the macro to open the dialog on a particular tab....
Can anyone modify the above macro code to demonstrate how I achieve
this..... everything I have attempted causes an error. I have searched the
net and my books for explanations unsuccessfully also.
Question 2
How do I incorporate the command line switches into the macor code...i.e. to
prevent the blank document opening.....so only the dialog opens?
Question 3
The open dialog command....wdDialogFileNew
Where will I get a list of the word commands as they are used in code....
Initially I was entering NewFileDialog.....then I tried FileNewDialog.....to
no joy.
Printing the list of commands / shortcuts from within word, lists the
commands but not ....as in the "wdDialogFileNew" example......
Many thanks in advance to any informative advise.
advise me on the following questions.
Using the following macro opens the Word template dialog.
Sub AutoExec()
'
' AutoExec Macro to open the template Dialogue Box
'
Dialogs(wdDialogFileNew).Show
End Sub
Question 1
I have tried to modify the macro to open the dialog on a particular tab....
Can anyone modify the above macro code to demonstrate how I achieve
this..... everything I have attempted causes an error. I have searched the
net and my books for explanations unsuccessfully also.
Question 2
How do I incorporate the command line switches into the macor code...i.e. to
prevent the blank document opening.....so only the dialog opens?
Question 3
The open dialog command....wdDialogFileNew
Where will I get a list of the word commands as they are used in code....
Initially I was entering NewFileDialog.....then I tried FileNewDialog.....to
no joy.
Printing the list of commands / shortcuts from within word, lists the
commands but not ....as in the "wdDialogFileNew" example......
Many thanks in advance to any informative advise.