![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: May 2002
Location: Dublin, CA.
Posts: 109
|
I did a search on this board for a print macro and found one that was submitted by Ian Mac back in 2/21/2002:
Sub PrintPages() Dim f, t As Integer f = InputBox("Select start page 1 to 10", "Print From") t = InputBox("Select end page " & f & " to 10", "Print To") If MsgBox("Do you wish to print pages " & f & " to " & t, vbYesNo, "Confirm print") = vbYes Then ThisWorkbook.PrintOut f, t Else End If End Sub What I would like your help in editing this macro to print a worksheet not workpages with with the same MsgBoxes to print 1 to 11 pages in my worksheet. :o |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|