PC Review


Reply
Thread Tools Rate Thread

Button control to run a macro?

 
 
Dick Prenovost
Guest
Posts: n/a
 
      12th Nov 2003
I am sure there is some way of doing this, but the "Help" feature has the
solution pretty well hidden . . .
I am trying to create a spreadsheet with a button control that will "show
all" lines once the user has finished using a line selected by using a
filter.
I know how to add a button, I know how to record a macro, I just can't
figure out how to run the macro when the button control is clicked. Any
Help?
Thanks,
Dick Prenovost


 
Reply With Quote
 
 
 
 
Arvi Laanemets
Guest
Posts: n/a
 
      12th Nov 2003
Hi

When you add a button from Forms toolbar into worksheet, you are asked for
assigning the macro attached to this button.


--
(When sending e-mail, use address (E-Mail Removed))
Arvi Laanemets


"Dick Prenovost" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I am sure there is some way of doing this, but the "Help" feature has the
> solution pretty well hidden . . .
> I am trying to create a spreadsheet with a button control that will "show
> all" lines once the user has finished using a line selected by using a
> filter.
> I know how to add a button, I know how to record a macro, I just can't
> figure out how to run the macro when the button control is clicked. Any
> Help?
> Thanks,
> Dick Prenovost
>
>




 
Reply With Quote
 
Freemini
Guest
Posts: n/a
 
      12th Nov 2003

If you have created the macro and placed the button on the sheet you
should be able to assign a macro by right clicking the button and use
'Assign a Macro' from the drop down menu.

Hope this helps

Mike


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SAME MACRO DON’T WORK ON (ActiveX Control) BUTTON BUT WORKS ON (From Control) BUTTON K Microsoft Excel Programming 3 16th Jun 2008 11:34 PM
Control button / macro =?Utf-8?B?U2FyYWg=?= Microsoft Excel Misc 2 11th Feb 2007 04:45 AM
How can I run a macro from a custom button control =?Utf-8?B?QUE=?= Microsoft Outlook Form Programming 1 20th Jun 2006 10:35 PM
assign a macro to a control button =?Utf-8?B?ZXdhbjcy?= Microsoft Excel Misc 1 3rd Dec 2004 02:04 PM
Initiating a macro from a control button TerryM Microsoft Excel Programming 1 23rd Sep 2004 09:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 PM.