R
Rebecca
I have a query that prompts for 2 variables. The msgbox
that does this allows CANCEL to be hit.
The query results are sent to an Excel spreadsheet via a
macro containing the 'TransferSpreadsheet' command.
If a user hits CANCEL, my spreadsheet gets blanked out.
Is there any way to prevent the msgbox having the CANCEL
option (remember I dont display this myself, the query
does it automatically). Or if this is not posssible, how
do I prevent the 'TransferSpreadsheet' command in my macro
from writing out a blank spreadsheet?
that does this allows CANCEL to be hit.
The query results are sent to an Excel spreadsheet via a
macro containing the 'TransferSpreadsheet' command.
If a user hits CANCEL, my spreadsheet gets blanked out.
Is there any way to prevent the msgbox having the CANCEL
option (remember I dont display this myself, the query
does it automatically). Or if this is not posssible, how
do I prevent the 'TransferSpreadsheet' command in my macro
from writing out a blank spreadsheet?