I'm trying to print a receipt book with sequential order numbers.
I found a macro created by user btadams 10 years ago which works awesome for the sequential numbers but I'm looking to add the letter 'M' before each number to signify a manual docket.
Here is the original macro:
I found a macro created by user btadams 10 years ago which works awesome for the sequential numbers but I'm looking to add the letter 'M' before each number to signify a manual docket.
Here is the original macro:
You can use a macro such as this:
Code:Sub PrintJobs() Dim i As Long, startnum As Long, lastnum As Long startnum = Application.InputBox("Enter the first job number to be printed", "Print Job Number", 1, , , , , 1) lastnum = Application.InputBox("Enter the last job number to be printed", "Print Job Number", 1, , , , , 1) For i = startnum To lastnum Range("B1").Value = i ActiveWindow.SelectedSheets.PrintOut Next End Sub