Project organizer bug with user forms

  • Thread starter Aaron Marcuse-Kubitza
  • Start date
A

Aaron Marcuse-Kubitza

BUG REPORT




BUG: There is a bug in the Word 2000 Project Organizer
(accessed by opening the templates and add-ins window,
clicking "Organizer", and clicking the "Macro Project
Items" tab) that causes problems when user forms are
transferred between an external template and the Normal
template.




ERROR MESSAGE: If the user form was transferred to the
Normal template with the project organizer, when the user
form is run, the error message "Run-time error '5981':
Could not open macro storage." is displayed.




ERROR OCCURRENCE: Specifically, I received this error when
I tried to run the Find Symbol dialog box, which was
provided in the sample macros supplied by Microsoft
(Macros9.dot). I had transferred this user form and the
subroutine that loaded it using the project organizer, as
suggested in the Macros9.dot file. When I received this
error message, I first tried retransferring the user form
and subroutine. This did not change anything, so I tested
the code subroutine by subroutine to pinpoint the location
of errors. I found that certain bookmark instructions were
causing errors, although there were no errors when I ran
the user form from the external template.




SOLUTION: I opened the template, and then in the Visual
Basic Editor I opened the project explorer. I dragged both
the user form and the subroutine that loaded it from the
Macros9.dot template to the Normal template. The Find
Symbol user form ran fine after this.




POSSIBLE CAUSE: The project organizer may have messed up
some of the code of the user form when transferring it, or
not transferred some information needed to run it. This
appears to be a bug in project organizer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top