Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

A time-honored tradition in the developer community is documenting a simple way to display "Hello World!" as an introduction to a programming interface. Using Access VBA, here is an easy way to do this.

  1. Open Access from the Windows Start Menu.

  2. To open Visual Basic, press Ctrl+G.

  3. In the Immediate window pane, enter Print MsgBox("Hello World"), and then press Enter.

  4. An Access dialog box displays the message.

    Access Hello World dialog box message


See Also

Introduction to Access programming

Access VBA reference

MsgBox function

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!