Forum Discussion
Userform/Command Button to Appear in New Worksheet
- Feb 21, 2020
Hi,
Instead of the embedded button on the worksheet, you can create a macro in the https://support.office.com/en-us/article/create-and-save-all-your-macros-in-a-single-workbook-66c97ab3-11c2-44db-b021-ae005a9bc790 to open the UserForm and add this macro to the Quick Access Toolbar or in a new custom ribbon tab by following the steps in the link below:
https://support.office.com/en-us/article/assign-a-macro-to-a-button-728c83ec-61d0-40bd-b6ba-927f84eb5d2c
Also, you need to modify the VBA code to make it applied to all worksheets, by replacing:
Sheet1
with:
ActiveSheet
Hope that helps
Hi,
Instead of the embedded button on the worksheet, you can create a macro in the https://support.office.com/en-us/article/create-and-save-all-your-macros-in-a-single-workbook-66c97ab3-11c2-44db-b021-ae005a9bc790 to open the UserForm and add this macro to the Quick Access Toolbar or in a new custom ribbon tab by following the steps in the link below:
https://support.office.com/en-us/article/assign-a-macro-to-a-button-728c83ec-61d0-40bd-b6ba-927f84eb5d2c
Also, you need to modify the VBA code to make it applied to all worksheets, by replacing:
Sheet1
with:
ActiveSheet
Hope that helps