Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
cldavis
 
Posts: n/a
Default How do I add a button to run a macaro in Excel XP?

I'm trying to create a button, using a macro, to print 3 of 5 pages in a
workbook. I can create the macro just fine, however, I want my users to bve
able to use hit a "button" either on the toolbar or in the first sheet, and
have it print those sheets automatically.
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

Try this, cl:
http://www.officearticles.com/misc/m...ica tions.htm
*******************
~Anne Troy

www.OfficeArticles.com


"cldavis" wrote in message
...
I'm trying to create a button, using a macro, to print 3 of 5 pages in a
workbook. I can create the macro just fine, however, I want my users to

bve
able to use hit a "button" either on the toolbar or in the first sheet,

and
have it print those sheets automatically.



  #3   Report Post  
Harald Staff
 
Posts: n/a
Default

Hi

Pick an object from the Drawing toolbar (View Toolbars menu if not there)
and put it onto your sheet. Rightclick the thing, choose "assign macro" and
assign your macro.

(There are other ways, but this solution will always look good :-)

HTH. Best wishes Harald

"cldavis" skrev i melding
...
I'm trying to create a button, using a macro, to print 3 of 5 pages in a
workbook. I can create the macro just fine, however, I want my users to

bve
able to use hit a "button" either on the toolbar or in the first sheet,

and
have it print those sheets automatically.



  #4   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi

Right click on a toolbar and click on Forms
Draw a button on your sheet and assign your macro to it


--
Regards Ron de Bruin
http://www.rondebruin.nl


"cldavis" wrote in message ...
I'm trying to create a button, using a macro, to print 3 of 5 pages in a
workbook. I can create the macro just fine, however, I want my users to bve
able to use hit a "button" either on the toolbar or in the first sheet, and
have it print those sheets automatically.



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
Reset Button in Excel? Jan C. Excel Worksheet Functions 3 July 2nd 05 02:08 AM
Sort Ascending button - Excel 2003 Ann Scharpf Excel Discussion (Misc queries) 0 May 23rd 05 11:11 PM
Sort Ascending button - Excel 2003 bigwheel Excel Discussion (Misc queries) 1 May 23rd 05 11:10 PM
after creating macro button, closed excel then restarted excel hjd43 Excel Discussion (Misc queries) 1 March 3rd 05 03:04 AM
How do I setup a print command button in excel 2003 BigPunchy New Users to Excel 1 December 24th 04 11:54 PM


All times are GMT +1. The time now is 02:45 PM.

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"