Why Does My Button Code Copy To "General" Object Window From "[My Button Name]" Objec

Joined
Jan 6, 2012
Messages
4
Reaction score
0
In order to use the "Me" reference and to have simpler, cleaner code, I moved some automation button code (Private Sub A1_Form_Re_send_Welcome_E_Mail_Only_Button_Click()) from a standard module into its object in my main form class module. I saved it. I then removed the old standard module. When I re-entered the VBE, I noticed that my code was now on both the "(General)" object window and the "A1_Form_Re_send_Welcome_E_Mail_Only_Button" object window. When I deleted it from the "(General)" object window, it also deleted it from my button object window! I retrieved it, but...

Does the "(General)" object window show ALL the code in the form class module?

Why was it put in the "(General)" object window in the first place?

Does deleteing code in the "(General)" object window delete the code in the "[My Button Name]" object window?

Thanks for the enlightenment -

Frank
 

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