VBA 屬性

指定用於載入與儲存包含 VBA (Visual Basic for Applications) 程式碼之 Microsoft Office 文件的一般特性。

若要使用此指令...

Choose - Load/Save - VBA Properties.


Microsoft Word 97/2000/XP

選取 Microsoft Word 格式文件的設定。

載入 Basic 程式碼

Loads and saves the Basic code from a Microsoft document as a special LibreOffice Basic module with the document. The disabled Microsoft Basic code is visible in the LibreOffice Basic IDE between Sub and End Sub. You can edit the code. When saving the document in LibreOffice format, the Basic code is saved as well. When saving in another format, the Basic code from the LibreOffice Basic IDE is not saved.

可執行的程式碼

將載入 VBA (Visual Basic for Applications) 程式碼並準備執行。若未核取此核取方塊,VBA 程式碼會加註為註解以進行檢查,但不會執行。

提示圖示

After loading the VBA code, LibreOffice inserts the statement Option VBASupport 1 in every Basic module to enable a limited support for VBA statements, functions and objects. See Option VBASupport Statement for more information.


儲存原始 Basic 程式碼

Specifies that the original Microsoft Basic code contained in the document is held in a special internal memory for as long as the document remains loaded in LibreOffice. When saving the document in Microsoft format the Microsoft Basic is saved again with the code in an unchanged form.

以 Microsoft 格式以外的其他格式儲存文件時,不會儲存 Microsoft Basic 程式碼。例如,如果文件中包含 Microsoft Basic 程式碼,而您以 LibreOffice 格式儲存文件,則系統將警告您將不會儲存 Microsoft Basic 程式碼。

[儲存原始 Basic 程式碼] 核取方塊的執行會優先於 [載入 Basic 程式碼] 核取方塊。若標記這兩個方塊且編輯 LibreOffice Basic IDE 中已停用的 Basic 程式碼,則會以 Microsoft 格式一起儲存原始 Microsoft Basic 程式碼。會顯示一則訊息通知您此項作業。

若要從 Microsoft 文件移除任何可能存在的 Microsoft Basic 巨集病毒,請取消標記 [儲存原始 Basic 程式碼] 核取方塊,並以 Microsoft 格式儲存文件。文件將不會與 Microsoft Basic 程式碼一併儲存。

Microsoft Excel 97/2000/XP

指定 Microsoft Excel 格式的文件設定。

載入 Basic 程式碼

Loads and saves the Basic code from a Microsoft document as a special LibreOffice Basic module with the document. The disabled Microsoft Basic code is visible in the LibreOffice Basic IDE between Sub and End Sub. You can edit the code. When saving the document in LibreOffice format, the Basic code is saved as well. When saving in another format, the Basic code from the LibreOffice Basic IDE is not saved.

可執行的程式碼

將載入 VBA (Visual Basic for Applications) 程式碼並準備執行。若未核取此核取方塊,VBA 程式碼會加註為註解以進行檢查,但不會執行。

提示圖示

After loading the VBA code, LibreOffice inserts the statement Option VBASupport 1 in every Basic module to enable a limited support for VBA statements, functions and objects. See Option VBASupport Statement for more information.


儲存原始 Basic 程式碼

Specifies that the original Microsoft Basic code contained in the document is held in a special internal memory for as long as the document remains loaded in LibreOffice. When saving the document in Microsoft format the Microsoft Basic is saved again with the code in an unchanged form.

以 Microsoft 格式以外的其他格式儲存文件時,不會儲存 Microsoft Basic 程式碼。例如,如果文件中包含 Microsoft Basic 程式碼,而您以 LibreOffice 格式儲存文件,則系統將警告您將不會儲存 Microsoft Basic 程式碼。

[儲存原始 Basic 程式碼] 核取方塊的執行會優先於 [載入 Basic 程式碼] 核取方塊。若標記這兩個方塊且編輯 LibreOffice Basic IDE 中已停用的 Basic 程式碼,則會以 Microsoft 格式一起儲存原始 Microsoft Basic 程式碼。會顯示一則訊息通知您此項作業。

若要從 Microsoft 文件移除任何可能存在的 Microsoft Basic 巨集病毒,請取消標記 [儲存原始 Basic 程式碼] 核取方塊,並以 Microsoft 格式儲存文件。文件將不會與 Microsoft Basic 程式碼一併儲存。

Microsoft PowerPoint 97/2000/XP

指定 Microsoft PowerPoint 格式的文件設定。

載入 Basic 程式碼

Loads and saves the Basic code from a Microsoft document as a special LibreOffice Basic module with the document. The disabled Microsoft Basic code is visible in the LibreOffice Basic IDE between Sub and End Sub. You can edit the code. When saving the document in LibreOffice format, the Basic code is saved as well. When saving in another format, the Basic code from the LibreOffice Basic IDE is not saved.

儲存原始 Basic 程式碼

Specifies that the original Microsoft Basic code contained in the document is held in a special internal memory for as long as the document remains loaded in LibreOffice. When saving the document in Microsoft format the Microsoft Basic is saved again with the code in an unchanged form.

以 Microsoft 格式以外的其他格式儲存文件時,不會儲存 Microsoft Basic 程式碼。例如,如果文件中包含 Microsoft Basic 程式碼,而您以 LibreOffice 格式儲存文件,則系統將警告您將不會儲存 Microsoft Basic 程式碼。

[儲存原始 Basic 程式碼] 核取方塊的執行會優先於 [載入 Basic 程式碼] 核取方塊。若標記這兩個方塊且編輯 LibreOffice Basic IDE 中已停用的 Basic 程式碼,則會以 Microsoft 格式一起儲存原始 Microsoft Basic 程式碼。會顯示一則訊息通知您此項作業。

若要從 Microsoft 文件移除任何可能存在的 Microsoft Basic 巨集病毒,請取消標記 [儲存原始 Basic 程式碼] 核取方塊,並以 Microsoft 格式儲存文件。文件將不會與 Microsoft Basic 程式碼一併儲存。