Sep 13 2022 11:27 AM
I can't seem to figure this out, and now I'm afraid I may have done the dreaded:
"Important: VBA code cannot be undone, so make sure to test your code on a blank workbook, or a copy of an existing workbook. If the code doesn't do what you want, you can close the workbook without saving changes."
If anyone can help me, I'd appreciate it! BTW: I'm a fairly non-techie, so, please spell it out pretty much in layman's terms.
Thank you in advance!
Sep 13 2022 12:00 PM - edited Sep 13 2022 12:01 PM
Solution@connderosa you need to open the VBA window (ALT-F11) and then in the project explorer (CTRL-R if it isn't already open) you expand the 'microsoft excel objects' folder and double click the "ThisWorkbook".
You should then get a blank page as shown in the image below and click the left drop down and select 'Workbook'. This should automatically insert a
Private Sub Workbook_Open()
End Sub
Then put the code you want to run between those 2 lines
and in the end make sure you save it as a .xlsm or .xlsb file type
hmmm... I should have opened that link first as it says the same thing but better. lol.
so maybe you need to explain better what your question/need is
Oct 28 2022 08:53 AM
Oct 28 2022 09:27 AM
Oct 28 2022 06:24 PM
Sep 13 2022 12:00 PM - edited Sep 13 2022 12:01 PM
Solution@connderosa you need to open the VBA window (ALT-F11) and then in the project explorer (CTRL-R if it isn't already open) you expand the 'microsoft excel objects' folder and double click the "ThisWorkbook".
You should then get a blank page as shown in the image below and click the left drop down and select 'Workbook'. This should automatically insert a
Private Sub Workbook_Open()
End Sub
Then put the code you want to run between those 2 lines
and in the end make sure you save it as a .xlsm or .xlsb file type
hmmm... I should have opened that link first as it says the same thing but better. lol.
so maybe you need to explain better what your question/need is