Whenever that event happened the macro will run. VBA comes with multiple events shown in the above screenshot, events like change, deactivate and many more. You may be in confusion what is an event code. ![]() Sheet Module Code: Whatever the event code we write in the sheet module it will apply for that sheet alone. ![]() If we add multiple sheets in our workbook it will allow different sheet modules here. By default, there will be two modules available to write your code, one is sheet1 module and workbook module.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |