L
Lars Eulberg
Hallo,
I've a very stupid problem with the ActiveDocument property in Word 2000.
The First call of a Macro stops without any Information during ther call.
But the following calls work fine.
A simple example:
Sub MAIN()
Dim d As Document
MsgBox "Hallo1"
Set d = ActiveDocument
MsgBox "Hallo2"
End Sub
The first Hallo-Dialog will be shown, but the second not, if you call the
Macro for first time.
Is there anyone who knows this problem, and perhaps a solution?
Thanks for help
Lars Eulberg
I've a very stupid problem with the ActiveDocument property in Word 2000.
The First call of a Macro stops without any Information during ther call.
But the following calls work fine.
A simple example:
Sub MAIN()
Dim d As Document
MsgBox "Hallo1"
Set d = ActiveDocument
MsgBox "Hallo2"
End Sub
The first Hallo-Dialog will be shown, but the second not, if you call the
Macro for first time.
Is there anyone who knows this problem, and perhaps a solution?
Thanks for help
Lars Eulberg