I understand that it is always UserForm_Initialize no matter what the form name is now. I only changed it back to see if my new error went away, which it did. The code does indeed look exactly as your example above, however the form will not load. When I click the button 'AC', I get Runtime error '424': Object Required, and the debugger highlights the ArmorClass.show line as the problem code. To clarify, the code before I fixed the initialize tag looked like this:
Since I had the initialize line wrong, the form opened but nothing happened.
However, after I fixed the code to the following, I suddenly started having error '424', Object Required. As you can see, what I have matches what you posted in your last reply, but for some reason I am getting that new error. And, I only get that error when the code is as follows:
The code for the AC button is:
and the form name is ArmorClass... I double checked to make sure I hadn't accidently misspelled anything.
I just can't figure out why the button gives an error when the initialize code is correct, and actually loads the form when it is incorrect. I know there has to be something simple I am overlooking, but I cannot figure out what.
Thanks for all the help
Bookmarks