D
dubbglubb
I have a separate issue with my Word VBA form that I can't work out.
While testing my template on other machines I get the Run-time Erro
5891
"Could not open macro storage"
This occurs as the user initiates the DOCVARIABLE field update events
a procedure that works perfectly on my terminal.
Debugging shows error occurs at the with ActiveDocument line
Code
-------------------
With ActiveDocument
.Variables("OurRef").Value = varOurRef & lblAmend.Caption
.Variables("LetterRef").Value = txtDescription.Text
-------------------
In fact it appears that any *ActiveDocument* code will bring up thi
error.
ActiveDocument doesn't work in the immediate window when attempte
within this template, but works if used within Normal.dot.
I've checked that all references are the same on both machines.
Any ideas?
Cheer
While testing my template on other machines I get the Run-time Erro
5891
"Could not open macro storage"
This occurs as the user initiates the DOCVARIABLE field update events
a procedure that works perfectly on my terminal.
Debugging shows error occurs at the with ActiveDocument line
Code
-------------------
With ActiveDocument
.Variables("OurRef").Value = varOurRef & lblAmend.Caption
.Variables("LetterRef").Value = txtDescription.Text
-------------------
In fact it appears that any *ActiveDocument* code will bring up thi
error.
ActiveDocument doesn't work in the immediate window when attempte
within this template, but works if used within Normal.dot.
I've checked that all references are the same on both machines.
Any ideas?
Cheer