Prompt a user in a Macro

qrk10000

Registered User.
Local time
Today, 11:27
Joined
Jan 10, 2007
Messages
11
Hello, I have set up a Macro that automates the file import process for my users. As part of this Macro, it deletes the old file and replaces it with the new imported file. I would like to set something up that warns them before proceeding, such as "Clicking 'Yes' will delete the existing file." I have been able to set up this warning but am unable to figure out how to prompt the user to select 'Yes' or 'No'. Is there a way to do this in a Macro?

Thanks in advance for your help.
 
Create the Yes/No MessageBox in VB code then run the code in the macro.

Col
 
Is this relatively simple to do? I am not very proficient in VB.
 
Is there a place I could get some sample code for this?
 
qrk10000 said:
Is there a place I could get some sample code for this?
I know its a surprise, but Access help has an example, plus how to do the yes/no buttons, message style and different icons.:rolleyes:

Col
 

Users who are viewing this thread

Back
Top Bottom