Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
bman342
 
Posts: n/a
Default Linking a Macro to a Button

Having a brain cramp.
How do I trigger an existing macro with a button object?
I am using the Control Toolbox to create the button, then I'm lost.
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Linking a Macro to a Button

You may be better to use a button from the Forms toolbar, and then you can
right-click the button and assign your macro to it.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"bman342" wrote in message
...
Having a brain cramp.
How do I trigger an existing macro with a button object?
I am using the Control Toolbox to create the button, then I'm lost.
Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Neil
 
Posts: n/a
Default Linking a Macro to a Button

Use the 'Forms' Toolbar rather than the 'Controls' toolbar, when you create
your button a dialog will appear asking you whic macro you want to associate
with the button.

HTH

Neil
www.nwarwick.co.uk

"bman342" wrote:

Having a brain cramp.
How do I trigger an existing macro with a button object?
I am using the Control Toolbox to create the button, then I'm lost.
Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
bman342
 
Posts: n/a
Default Linking a Macro to a Button

Thanks to both who replied.

"Neil" wrote:

Use the 'Forms' Toolbar rather than the 'Controls' toolbar, when you create
your button a dialog will appear asking you whic macro you want to associate
with the button.

HTH

Neil
www.nwarwick.co.uk

"bman342" wrote:

Having a brain cramp.
How do I trigger an existing macro with a button object?
I am using the Control Toolbox to create the button, then I'm lost.
Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cells turn 'hot' and execute distant macro button Kevryl Excel Discussion (Misc queries) 1 March 31st 06 02:08 PM
assigning macro to button BorisS Excel Discussion (Misc queries) 2 September 12th 05 05:08 AM
Macro linking vishu Excel Discussion (Misc queries) 2 July 12th 05 01:16 PM
Attaching a macro to a VB button on a form WildGlio Excel Worksheet Functions 2 March 25th 05 11:11 PM
Assigning a macro to a "button" Yvon Excel Discussion (Misc queries) 6 February 8th 05 10:58 PM


All times are GMT +1. The time now is 09:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"