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.

您可以使用 AllowBuiltInToolbars 屬性來指定使用者是否可以顯示 Microsoft Office Access 2007 的內建工具列。 例如,您可以使用 AllowBuiltInToolbars 屬性,讓使用者在資料庫應用程式中看不到 Access 的內建工具列。

設定

AllowBuiltInToolbars 屬性使用下列設定。

設定

描述

True (–1)

允許顯示內建工具列。

False (0)

不允許顯示內建工具列。


若要以最簡單的方式設定此屬性,請依序按一下 Microsoft Office 按鈕 Office 按鈕影像 和 [Access 選項],然後在 [Access 選項] 對話方塊的 [啟動] 索引標籤上按一下 [允許內建工具列] 選項即可。 您也可以使用巨集或 Visual Basic for Applications (VBA) 程式碼來設定此屬性。

若要使用巨集或 Visual Basic for Applications (VBA) 程式碼來設定 AllowBuiltInToolbars 屬性,您必須先在 [啟動] 對話方塊中設定一次屬性,或透過下列方法建立屬性:

  • 在 Microsoft Access 資料庫 (.mdb 或 .accdb) 中,您可以使用 CreateProperty 方法,將它附加到 Database 物件的 Properties 集合中來新增此屬性。

  • 在 Microsoft Access 專案 (.adp) 中,您可以使用 Add 方法,將它新增到 CurrentProject 物件的 AccessObjectProperties 集合中。

備註

只有在 AllowToolbarChanges 屬性設為TrueAllowBuiltInToolbars 屬性設為 True 時,使用者才能修改內建工具列。

AllowBuiltInToolbars 屬性設為 False,您就無法使用 ShowToolbar 巨集指令顯示內建工具列。

此屬性的設定要到下次開啟應用程式資料庫時才會生效。

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!

×