L
lots of questions
How can you ensure that a macro created and saved in a Word2003 template is
operable by the user? I know that macro security settings can affect macro
functionality and have accounted for this.
I develop electronic forms using Word2003. The templates (.dot) are stored
on the company server and accessible to employees thru a tab added to the
'file-new' window.
Sometimes I write code using the VB Editor in the file template I am
developing. Other times I use the Macro Recorder to capture a sequence of
events.
Whichever way I create a macro - I make sure it is being saved in the
template and not normal. Depending upon the form, I will assign the macro to
a button or menu or a keyboard combination.....I 'test drive' the form on my
system before placing out on the server....the problem - about half the time
the button/menu or key combination works fine on my computer but when I email
the template to the requestor of the template for review, the code is not
functional. If I go the the individuals computer and open the file, the code
is there in the vb editor, just not working. If I re-establish the button or
keyboard connectivity and run the code, it works, however, if the employee
closes the file and reopens it, it might or might not work. Accessibility
also seems to depend on whether the code is in 'newmacros' or 'thisdocument'
.. I've read thru a number of the threads here on the site but don't get
in-depth answers as to where the code 'should be'. Can someone provide a
clarification or direct me to specific articles or books where I can find the
information? Much thanks
operable by the user? I know that macro security settings can affect macro
functionality and have accounted for this.
I develop electronic forms using Word2003. The templates (.dot) are stored
on the company server and accessible to employees thru a tab added to the
'file-new' window.
Sometimes I write code using the VB Editor in the file template I am
developing. Other times I use the Macro Recorder to capture a sequence of
events.
Whichever way I create a macro - I make sure it is being saved in the
template and not normal. Depending upon the form, I will assign the macro to
a button or menu or a keyboard combination.....I 'test drive' the form on my
system before placing out on the server....the problem - about half the time
the button/menu or key combination works fine on my computer but when I email
the template to the requestor of the template for review, the code is not
functional. If I go the the individuals computer and open the file, the code
is there in the vb editor, just not working. If I re-establish the button or
keyboard connectivity and run the code, it works, however, if the employee
closes the file and reopens it, it might or might not work. Accessibility
also seems to depend on whether the code is in 'newmacros' or 'thisdocument'
.. I've read thru a number of the threads here on the site but don't get
in-depth answers as to where the code 'should be'. Can someone provide a
clarification or direct me to specific articles or books where I can find the
information? Much thanks