One question. None of the VB gurus at the office have been able to answer it.
The following simple macro works perfectly when run from the play macros dialogue box in Word 2002:
ActiveWindow.EnvelopeVisible = Not ActiveWindow.EnvelopeVisible
However, when linked to a button using the following script:
Private Sub CommandButton1_Click()
The same code which worked perfectly before now results in the following error message:
"Run-time error '4641': Method 'EnvelopeVisisble' of object 'Window' failed"
How do I fix this problem so I can launch the visible () macro above from a button?