I read several threads here and they seemed really close to what I need but not quite close enough. I have the following existing code that prompts the user to answer Yes or No when asked if they need to print the NMR form. I would like to add code if they say Yes, it asks how many copies are needed.
*CODE*
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]If MsgBox("Do you want to print the NMR Form?", vbYesNo) = vbYes Then
Sheets("Blank NMR Form").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False
End If
*END CODE*
Thank you!
[/FONT]
*CODE*
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]If MsgBox("Do you want to print the NMR Form?", vbYesNo) = vbYes Then
Sheets("Blank NMR Form").Select
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _
IgnorePrintAreas:=False
End If
*END CODE*
Thank you!
[/FONT]