Inserting a button into a cell and linking it to a macro

R

Robb W

I create a new Excel spreadsheet for various purposes about once pe
year. Inevitably, after I figure out all the commands and functions
want to utilize for one spreadsheet, I forget everything by the time
start a new spreadsheet. Thus this question....

How do I insert a button into a cell that, when pushed, will run
macro?

I basically have a project tracking spreadsheet and want to put date
in a cell when a task is complete. I want a button in the corner o
the cell that will insert the current date and alert the user that h
is changing a date if the button is presed with a date in the cell.

I can write the macro, but I can't for the love of me remember how t
insert the button and link the macro to it. I know I've done thi
before.

Thanks for any help..... :cool
 
L

L. Howard Kittle

Right click anywhere on the upper tool bar and select Forms. It has a
button icon to make the button and will prompt you to assign a macro to it.

If you already have a button, right click and check Assign Macro.

The button doesn't go in a cell but right click the button and on Format
Control > Properties > check the options that suit you.

HTH
Regards,
Howard
 
D

Dave Peterson

Show the Forms toolbar
Click on the button and draw the opposite corners on the worksheet

After you've created the button, you can assign the macro to the button. If
your macro isn't ready, you can dismiss that dialog.

When the macro is available, just rightclick on the button and choose Assign
Macro.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top