#1   Report Post  
Meghan
 
Posts: n/a
Default Print command box

Hello, I am working in an Excel spreadsheet and would like to add a command
box that prints onto the worksheet. How do I go about doing this and what is
the code. I only know that i use Visual Basics I think.
--
Thanks

Meghan
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Record a macro (Tools|macro|record new macro)
when you print the worksheet.
Then stop the recording of the macro.

Now show the Forms toolbar (View|toolbars)
Click on that button icon
draw it onto the worksheet (you can move it later).

Then assign that recorded macro to that button.

(If you need to, you can rightclick on that button and assign the macro when you
want to--you don't have to do it when you plop the button onto the worksheet.)



Meghan wrote:

Hello, I am working in an Excel spreadsheet and would like to add a command
box that prints onto the worksheet. How do I go about doing this and what is
the code. I only know that i use Visual Basics I think.
--
Thanks

Meghan


--

Dave Peterson
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
One spreadsheet cell won't print but shows up in print preview? Sally Excel Discussion (Misc queries) 1 May 26th 05 07:06 PM
Print and Print Preview don't match screen JNohl Excel Worksheet Functions 0 March 11th 05 05:23 PM
set the print area print multiple tabs veng Excel Discussion (Misc queries) 5 February 12th 05 07:01 PM
Printing - Have to set print area 1 column further than necessary STUART BISSET Excel Discussion (Misc queries) 0 January 24th 05 07:59 PM
Microsoft Excel could not find anything to print cyndi Excel Discussion (Misc queries) 1 December 22nd 04 01:40 PM


All times are GMT +1. The time now is 05:35 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"