OK have a print macro that works well and combined it with Post #12 from
https://www.mrexcel.com/forum/excel-questions/39788-old-excel-macro-language-2.html
with a slight modification.
This is it from my spreadsheet
What I would like it to do is not only wait or pause, but bring up a Message box with the Words "Reload Tawnton pages" with a OK button so once I have physically re-loaded the pages ( which are on the reverse side of previously printed pages), pressing return key or clicking on the OK button, the macro continues to process & print.
I also new to amend the text colour red words to be "Tawnton_print" range as this could vary from A1:L51 to A1: L40 or A1:L60
previous advice has been to use CurrentRegion.Select but not sure where is goes in the above coding
Ron
https://www.mrexcel.com/forum/excel-questions/39788-old-excel-macro-language-2.html
with a slight modification.
This is it from my spreadsheet
Code:
Application.Wait (Now + TimeValue("0:00:20"))
Application.Goto Reference:="Tawnton_print"
ActiveSheet.PageSetup.PrintArea = "[COLOR=#ff0000]$A$1:$L$51[/COLOR]"
ActiveWindow.SelectedSheets.PrintOut From:=2, To:=2, Copies:=2, Collate _
:=True, IgnorePrintAreas:=False
Range("A1").Select
End Sub
What I would like it to do is not only wait or pause, but bring up a Message box with the Words "Reload Tawnton pages" with a OK button so once I have physically re-loaded the pages ( which are on the reverse side of previously printed pages), pressing return key or clicking on the OK button, the macro continues to process & print.
I also new to amend the text colour red words to be "Tawnton_print" range as this could vary from A1:L51 to A1: L40 or A1:L60
previous advice has been to use CurrentRegion.Select but not sure where is goes in the above coding
Ron
Last edited: