Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

macro

ResolvedVersion 2007

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.

Thu 6 Dec 2012: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Microsoft Office tip:

Standard Ctrl Keys

Here are some standard Ctrl keys you can use in all your Office applications.
A - Select All
B - Bold Text
C - Copy
F - Find
G - GoTo
H - Replace
I - Italics
K - Insert Hyperlinks
N - New File
O - Open File
P - Print
S - Save
U - Underline
V - Paste
W - Save and Close
X - Cut
Y - Redo
Z - Undo

Other vary between applications. See additional lists.

View all Microsoft Office hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.39 secs.