![]() |
Printing Multiple Sheets
How do I get this macro to print more the on sheet For example sheets
1 to 5. Sub doprint() ' ' doprint Macro ' Macro recorded 9/25/2003 by AvilaJ Dim i As Integer Dim oCell As Range Jummber1 = InputBox("Start in Job Number?", " First Job to Print", 0) Jummber2 = InputBox("Finish in Job Number?", " Last Job to Print", 0) Range("I40").Select ActiveCell.FormulaR1C1 = Jummber1 Range("I41").Select ActiveCell.FormulaR1C1 = Jummber2 For Counter = Jummber1 To Jummber1 Range("L5").Select ActiveCell.FormulaR1C1 = Counter ActiveWindow.SelectedSheets.PrintOut From:=1, To:=1, Copies:=1, Collate _ :=True Next Counter End Sub |
Printing Multiple Sheets
check out j-walks code to select sheets to print http://www.j-walk.com/ss/excel/tips/tip48.ht -- davesexce ----------------------------------------------------------------------- davesexcel's Profile: http://www.excelforum.com/member.php...fo&userid=3170 View this thread: http://www.excelforum.com/showthread.php?threadid=57349 |
All times are GMT +1. The time now is 09:16 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com