Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Unable to revise a UserForm

$
0
0

I built a UserForm called SearchForm for part of a VBA macro in Project.  To test it out I click the play icon in the VBA editor or I type SearchForm.Show into the Immediate Window.  Either way, as soon as I have displayed the UserForm at least once, if I make revisions to its design in the editor, those revisions are undone as soon as I show the SearchForm again.  The SearchForm is shown without the revisions and the editor loses the revisions.

I have tried to use the Unload SearchForm command to see if there was some link between the SearchForm object and the display in the editor.  Running Unload SearchForm did not stop the problem from happening.

The only way to successfully revise SearchForm is to close the Project file and reopen it, and make all changes before running SearchForm.Show.  Is there any way I can fix this?


Viewing all articles
Browse latest Browse all 5347

Trending Articles