Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Assigning a macro to a button

in Excel XP, I want to assign a macro to a button instead of using
Ctrl+something. Is this possible ?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Assigning a macro to a button

I have Excel 2000 (should be similar to XP). If you already have a macro
created, then you create the button, and it will prompt you for a macro to
assign to it. Or you can right click on the button, and select assign
macro.

"Junkyard Engineer" wrote in message
...
in Excel XP, I want to assign a macro to a button instead of using
Ctrl+something. Is this possible ?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Assigning a macro to a button

for a button from the forms toolbar, right click on the button and select
assign macro.

for a button from the control toolbox toolbar, double click on it while in
design mode and put a call to your code it in the click event.

--
Regards,
Tom Ogilvy

"Junkyard Engineer" wrote in message
...
in Excel XP, I want to assign a macro to a button instead of using
Ctrl+something. Is this possible ?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Assigning a macro to a button

Ok thanks Tom & Brian :)


"Tom Ogilvy" a écrit dans le message de
...
for a button from the forms toolbar, right click on the button and select
assign macro.

for a button from the control toolbox toolbar, double click on it while in
design mode and put a call to your code it in the click event.

--
Regards,
Tom Ogilvy

"Junkyard Engineer" wrote in message
...
in Excel XP, I want to assign a macro to a button instead of using
Ctrl+something. Is this possible ?






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
Assigning A Macro to A Button Holly Excel Worksheet Functions 1 January 18th 08 10:04 AM
assigning a macro to a button Darby Excel Discussion (Misc queries) 2 February 10th 06 05:05 PM
assigning macro to button BorisS Excel Discussion (Misc queries) 2 September 12th 05 05:08 AM
Assigning macro to button d Excel Discussion (Misc queries) 0 August 22nd 05 01:40 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 05:43 AM.

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

About Us

"It's about Microsoft Excel"