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 源代码复选框并以 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 源代码复选框并以 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 源代码复选框并以 Microsoft 格式保存该文档。文档将会被保存(不含 Microsoft Basic 代码)。