Esther has attended:
Excel Advanced course
Excel Advanced - Formulas & Functions course
Macro
How to create a button in a Macro to click on instead of a ctrl + key?
RE: Macro
Hi Esther
You can add a button rather than pressing a Ctrl key in 2 different ways as folows.
1. To add a macro button in your worksheet...
Select Insert, Shapes.
Choose a rectangle or any shape for your button.
Size, position and colour your button.
To add text just type while it is selected.
Then Right click on the shape and choose Assign Macro
Select the macro from the list.
Tip: To stop the button resizing or moving if your macro involves filtering or hiding rows:
Right click, Size and Properties
Properties tab
click Don't move or size with cells.
To add a macro button on the Quick Access toolbar...
Click the dropdown icon on the right of the Quick Access toolbar (the toolbar at the top right of the screen)
Select More Commands
Select Choose commands from - Macros
then click Add for your macro
Choose Modify to change the button image
Click ok
This second method is formore general macros for use in any workbook.
Hope that helps for now
Regards
Doug Dunn
Best STL
Will be marked as resolved in 5 days
Notice: This is an automated message. Due to inactivity, this forum post will be marked as 'resolved' if there are no further responses in the next 5 days.