L
lothario
Hi,
I need some VBA code that invokes the Print dialog box.
I cannot use the Printer icon in Excel to do this because
every time the users need to print the current spreadsheet
they first need to do a backup. They always remember to
get a printout (they need the hard copy) but they forget
to do a backup. This spreadsheet is updated with realtime
data several times each hour so a backup is necessary.
I have already implemented the VBA code in a button
to do the respective backup.
This button has the label "Do Backup".
Now I would like to add a few lines of VBA code to the
same button so that AFTER the backup is done the Print
dialog box shows up.
The button label would then be changed to
"Do Backup and Print ..."
Can you give me a few lines of VBA code that I can
append to do this?
Thanks,
Luther
I need some VBA code that invokes the Print dialog box.
I cannot use the Printer icon in Excel to do this because
every time the users need to print the current spreadsheet
they first need to do a backup. They always remember to
get a printout (they need the hard copy) but they forget
to do a backup. This spreadsheet is updated with realtime
data several times each hour so a backup is necessary.
I have already implemented the VBA code in a button
to do the respective backup.
This button has the label "Do Backup".
Now I would like to add a few lines of VBA code to the
same button so that AFTER the backup is done the Print
dialog box shows up.
The button label would then be changed to
"Do Backup and Print ..."
Can you give me a few lines of VBA code that I can
append to do this?
Thanks,
Luther