mcfly
Board Regular
- Joined
- May 15, 2002
- Messages
- 162
Is there a way to save the worksheet as a pdf or just a read-only file that doesn't include the macros.
And also save the filename as "Quote" plus a number so that everytime you save this quote it will add a number to your sheet and also to the SaveAs filename
here is whats at the end of my finish button code:
msg = "Would you like to save this Quote?"
ans = MsgBox(msg, vbQuestion + vbYesNo, appname)
If ans = vbYes Then ActiveSheet.PrintOut
If ans = vbYes Then Unload Me
If ans = vbYes Then activeWorkbook.SaveAs
and that is all I can figure out can anyone of the code gurus help me out?
So whenever I select yes it will printout my sheet and at the same time save as a seperate file(read-only or pdf) named "Quote 000001"
and then the next time "Quote 000002".
Thanks in Advance!!!
And also save the filename as "Quote" plus a number so that everytime you save this quote it will add a number to your sheet and also to the SaveAs filename
here is whats at the end of my finish button code:
msg = "Would you like to save this Quote?"
ans = MsgBox(msg, vbQuestion + vbYesNo, appname)
If ans = vbYes Then ActiveSheet.PrintOut
If ans = vbYes Then Unload Me
If ans = vbYes Then activeWorkbook.SaveAs
and that is all I can figure out can anyone of the code gurus help me out?
So whenever I select yes it will printout my sheet and at the same time save as a seperate file(read-only or pdf) named "Quote 000001"
and then the next time "Quote 000002".
Thanks in Advance!!!