Довідка LibreOfficeDev 25.8
LibreOfficeDev Basic adds this set of functionalities when VBA Office support is active.
These exclusive LibreOfficeDev VBA objects properties and methods are enabled when:
A Basic module is set with VBAModule special attribute.
Option VBASupport 1 compiler statement is placed before the first macro of the VBA Basic module.
A few VBA objects are supported for Excel, Powerpoint and Word application files. Limited properties and methods are available for VBA objects.
| Excel supported VBA objects | ||
|---|---|---|
Properties
ActiveCell : Range
ActiveSheet : Worksheet
ActiveWorkbook : Workbook
DefaultFilePath : String
DisplayAlerts : Boolean
LibraryPath : String
Name : String
PathSeparator : String - see GetPathSeparator function
Methods
GetOpenFileName() As Variant - Returns False if dialog canceled.
Quit
Properties
Address : String
Methods
Item(ndx : Variant) : Column
Properties
Methods
ExportAsFixedFormat(Optional Type : Integer = xlTypePDF, Optional FileName : String, Optional Quality : Integer = xlQualityStandard, Optional IncludeDocProperties : Boolean, Optional IgnorePrintAreas = Boolean, Optional OpenAfterPublish : Boolean)
Properties
Methods
Properties
Methods
ExportAsFixedFormat(Optional Type : Integer = xlTypePDF, Optional FileName : String, Optional Quality : Integer = xlQualityStandard, Optional IncludeDocProperties : Boolean, Optional IgnorePrintAreas = Boolean, Optional OpenAfterPublish : Boolean)
Properties
Methods
ExportAsFixedFormat(Optional Type : Integer = xlTypePDF, Optional FileName : String, Optional Quality : Integer = xlQualityStandard, Optional IncludeDocProperties : Boolean, Optional IgnorePrintAreas = Boolean, Optional OpenAfterPublish : Boolean)