MessageBox Macro Action (Access custom web app)

Office 2013 and later

You can use the MessageBox action to display a message box containing a warning or an informational message. For example, you can use the MessageBox action with validation macros. When a control or record fails a validation condition in the macro, a message box can display an error message and provide instructions about the kind of data that should be entered.

Last modified: March 09, 2015

Applies to: Access 2013 | Access 2016

Important note Important

Microsoft no longer recommends creating and using Access web apps in SharePoint. As an alternative, consider using Microsoft PowerApps to build no-code business solutions for the web and mobile devices.

The MessageBox action has the following argument.

Action argument

Description

Message

The text in the message box. You can type up to 255 characters or enter an expression (preceded by an equal sign).

Show: