Confirm Macro

Use the Confirm macro to display a pop-up message to the user with OK and Cancel buttons. The function returns a Boolean to indicate the user's selection.

 

Parameters:

 

Message: The message to be displayed to the user in the pop-up window.

 

 

Return Value:

 

  • True, if the user clicks OK;

 

  • False, if the user clicks Cancel or closes the dialog using the Escape key or the control box.

 

 

Example:

 

If Macro.Confirm("The borrower's address will be copied to the

 coborrower") Then

 

Macro.CopyField("FR0104", "FR0204")

Macro.CopyField("FR0106", "FR0206")

Macro.CopyField("FR0107", "FR0207")

Macro.CopyField("FR0108", "FR0208")

End If