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

開發人員社群中一個以時間為名的傳統,正以簡單的方式將「Hello World!」顯示為程式設計介面的簡介。 使用 Access VBA,有一個簡單的方法可以執行這項操作。

  1. 從 Windows 開始功能表 開啟 Access。

  2. 若要開啟 Visual Basic,請按 Ctrl+G。

  3. 在立即視窗窗格中,輸入 Print MsgBox("Hello World"),然後按 Enter。

  4. Access 對話方塊會顯示訊息。

    Access Hello World 對話方塊訊息

恭喜!

另請參閱

Access 程式設計簡介

Access VBA 參照https://docs.microsoft.com/en-us/office/vba/api/overview/access

MsgBox 函數https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/msgbox-function

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
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!

×