Hello.
I have created a macro that exports data to a text file. The first line displays a message warning the user that performing the action will overwrite the existing file.
The action is set to StopMacro and the condition is set to:
Not MsgBox("Backup Confirmation@Are you sure you wish to perform a backup?@Existing backup files will be overwritten.",1)=1
This displays a message box with OK and Cancel buttons. If the user clicks OK, the macro continues. If the user clicks Cancel, the macro stops.
Everything works properly, but I would like the message box to be more like the one created using the MsgBox action itself. I would like to have it display the image for the type of message Critical, Information, Warning).
Is there any way to do this?
Thanks.
I have created a macro that exports data to a text file. The first line displays a message warning the user that performing the action will overwrite the existing file.
The action is set to StopMacro and the condition is set to:
Not MsgBox("Backup Confirmation@Are you sure you wish to perform a backup?@Existing backup files will be overwritten.",1)=1
This displays a message box with OK and Cancel buttons. If the user clicks OK, the macro continues. If the user clicks Cancel, the macro stops.
Everything works properly, but I would like the message box to be more like the one created using the MsgBox action itself. I would like to have it display the image for the type of message Critical, Information, Warning).
Is there any way to do this?
Thanks.