HazelHanH
New Member
- Joined
- Dec 17, 2021
- Messages
- 3
- Office Version
- 2016
- Platform
- Windows
- MacOS
- Mobile
- Web
Hi, I am new to VBA. This is probably a very simple mistake but I need some guidance.
I am trying to align textboxes in the excel sheet and wanted to create a shortcut command button which can disappear when I am printing the worksheet.
I did a Record Macro to get the script. It works when I run the Macro.
However, when I "Call" this code to link it into the Command button code, it does not work. Will be grateful if anyone can spot what I am missing here...
I am trying to align textboxes in the excel sheet and wanted to create a shortcut command button which can disappear when I am printing the worksheet.
I did a Record Macro to get the script. It works when I run the Macro.
However, when I "Call" this code to link it into the Command button code, it does not work. Will be grateful if anyone can spot what I am missing here...