Display "Hello World!" in Access

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?

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.