Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default excel how to put a print button in the document

how to put a print button in document to print a range in excel
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default excel how to put a print button in the document

Two options:

1. View Toolbars and check Standard
the Standard toolbar has a Print button it

2. put you own button in the worksheet with VBA:

Sub button_maker()
Application.CommandBars("Forms").Visible = True
ActiveSheet.Buttons.Add(290.25, 69, 51.75, 41.25).Select
Selection.OnAction = "printit"
Application.CommandBars("Forms").Visible = False
End Sub


Sub printit()
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
End Sub


The first sub creates a button. The second sub does the printing. This
assumes that the print range has already been established.
--
Gary's Student
gsnu200712


"nick l" wrote:

how to put a print button in document to print a range in excel

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
Excel document print Tanu Gulati[_2_] Excel Discussion (Misc queries) 3 March 1st 07 02:55 PM
I want to print labels from my excel document SAS Alumni New Users to Excel 1 September 22nd 06 08:49 PM
why won't excel print my document? Matt Excel Discussion (Misc queries) 1 September 8th 06 04:37 PM
how do i rotate a document or print small document on envelope crystal New Users to Excel 2 March 23rd 06 03:52 PM
How do I print the name of a tab on an Excel document? TW Excel Discussion (Misc queries) 5 March 16th 06 10:09 AM


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