I have a excel log that I want to automate the printing.
I have gotten as far VBA using a msgbox to ask user to define print area but not able to have it print the selected area?
This is what I have so far....help please.
Sub RangeSelectionPrompt()
Dim rng As Range
Set rng = Application.InputBox("Select a range", "Obtain Print Range", Type:=8)
Selection.PrintOut Copies:=1, Collate:=True
I have gotten as far VBA using a msgbox to ask user to define print area but not able to have it print the selected area?
This is what I have so far....help please.
Sub RangeSelectionPrompt()
Dim rng As Range
Set rng = Application.InputBox("Select a range", "Obtain Print Range", Type:=8)
Selection.PrintOut Copies:=1, Collate:=True