| Member with 2,493 posts. | | Join Date: Jun 2002 Location: Ontario,Canada Experience: Advanced | |
this is what I would do...
VB: Code: Sub Print_All()
Application.Calculation = xlCalculationAutomatic
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Dim x As Variant
Dim v As Variant
i = InputBox("Please enter the Starting Record number")
v = InputBox("Please enter the Ending Record number")
x = i
For i =x To v
Range("n2").FormulaR1C1 = x
Sheets("Deskingsheet").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False
x= x +1
Next i
End Sub |