P
Peter
I have a VBA application which people install by copying to their
microsoft\word\startup folder
I would like to display a message the first time the user runs this template.
The tempate contains a sub autoexec that runs then the template is first run
Sub autoexec()
Dim mastatus As String
....
If mastatus = "First time run" Then
... do welcome to first time users stuff
.... set mastatus to this is not done in future
beep
msgbox "hello ... "
The autoexec runs fine and I hear the beep the first time it is run. Bur the
msgbox causes the following error...
"The command cannot be performed because a dialog box is open. Click Ok, and
then close open dialog boxes to continue"
I guess this measn taht the welcome message is preventing Word from
correctrly opening up.
How can I display a message the first time the .dotm file is used and not
interfere with word's opening process.
Any help will be gratefully received,
PeterEvans
microsoft\word\startup folder
I would like to display a message the first time the user runs this template.
The tempate contains a sub autoexec that runs then the template is first run
Sub autoexec()
Dim mastatus As String
....
If mastatus = "First time run" Then
... do welcome to first time users stuff
.... set mastatus to this is not done in future
beep
msgbox "hello ... "
The autoexec runs fine and I hear the beep the first time it is run. Bur the
msgbox causes the following error...
"The command cannot be performed because a dialog box is open. Click Ok, and
then close open dialog boxes to continue"
I guess this measn taht the welcome message is preventing Word from
correctrly opening up.
How can I display a message the first time the .dotm file is used and not
interfere with word's opening process.
Any help will be gratefully received,
PeterEvans