You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: english/python-net/aspose.tasks.saving/mppsaveoptions/_index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ The MPPSaveOptions type exposes the following members:
25
25
|write_filters|Gets or sets a value indicating whether to write filter data when saving a project to MPP for format.|
26
26
|write_groups|Gets or sets a value indicating whether to write groups data when saving a project to MPP for format.|
27
27
|clear_vba|Gets or sets a value indicating whether to remove existing VBA macros data when saving a project to MPP format.|
28
+
|write_vba|Gets or sets a value indicating whether to update existing VBA macros data in MPP file.<br/> Currently writing of VbaModule.SourceCode is supported.|
28
29
|protection_password|Gets or sets a password which is used to protect a resulting MPP file. Currently is supported for MS Project 2010 and newer formats.|
Copy file name to clipboardExpand all lines: english/python-net/aspose.tasks/_index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -226,6 +226,7 @@ Contains classes for work with Microsoft Project documents without utilizing Mic
226
226
|[TimeUnitType](/tasks/python-net/aspose.tasks/timeunittype/)|Specifies the type of a time unit.|
227
227
|[TimephasedDataType](/tasks/python-net/aspose.tasks/timephaseddatatype/)|Specifies the type of time phased data.|
228
228
|[UndefinedConstraintHandlingBehavior](/tasks/python-net/aspose.tasks/undefinedconstrainthandlingbehavior/)|Specifies the behavior used to handle tasks with undefined constraints.|
229
+
|[VbaModuleType](/tasks/python-net/aspose.tasks/vbamoduletype/)|Specifies the type of a module in a VBA project.|
229
230
|[ViewScreen](/tasks/python-net/aspose.tasks/viewscreen/)|Specifies the screen type for a view.|
230
231
|[WBSSequence](/tasks/python-net/aspose.tasks/wbssequence/)|Specifies sequence for WBSCodeMask|
231
232
|[WeekLabelDisplay](/tasks/python-net/aspose.tasks/weeklabeldisplay/)|Specifies how the week label displays.|
Copy file name to clipboardExpand all lines: english/python-net/aspose.tasks/vbamodule/_index.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,15 @@ The VbaModule type exposes the following members:
15
15
## Properties
16
16
| Name | Description |
17
17
| :- | :- |
18
-
|attributes|Gets a collection of [VbaModuleAttributeCollection](/tasks/python-net/aspose.tasks/vbamoduleattributecollection/)|
18
+
|attributes|Gets a collection of the module's attributes.|
19
19
|name|Gets a name of the VBA module|
20
-
|source_code|Gets a source Code of the VBA module|
20
+
|type|Gets the type of the module.|
21
+
|source_code|Gets or sets a source code of the VBA module|
22
+
## Methods
23
+
| Name | Description |
24
+
| :- | :- |
25
+
|create_procedural_module(name)|Creates an instance of [VbaModule](/tasks/python-net/aspose.tasks/vbamodule/) with VbaModuleType.ProceduralModule type.|
26
+
|create_class_module(name)|Creates an instance of [VbaModule](/tasks/python-net/aspose.tasks/vbamodule/) with VbaModuleType.ClassModule type.|
second_title: Aspose.Tasks for Python via .NET API Reference
4
+
description:
5
+
type: docs
6
+
weight: 2820
7
+
url: /python-net/aspose.tasks/vbamoduletype/
8
+
---
9
+
10
+
## VbaModuleType enumeration
11
+
12
+
Specifies the type of a module in a VBA project.
13
+
14
+
## Members
15
+
| Member name | Description |
16
+
| :- | :- |
17
+
|DOCUMENT_MODULE|A type of VBA project item that specifies a module for embedded macros and programmatic access operations that are associated with a document.|
18
+
|PROCEDURAL_MODULE|A module containing collection of subroutines and functions.|
19
+
|CLASS_MODULE|A module that contains the definition for a new object. Each instance of a class creates a new object, and procedures that are defined in the module become properties and methods of the object.|
20
+
|DESIGNER_MODULE|A module that extends the methods and properties of an ActiveX control that has been registered with the project.|
0 commit comments