LibreOffice 25.2 Help
LibreOffice BASIC voegt deze functionaliteit toe wanneer VBA Office-ondersteuning actief is.
Deze exclusieve LibreOffice VBA-objecteigenschappen en -methodes worden ingeschakeld wanneer:
Een BASIC-module wordt ingesteld met het speciale kenmerk VBAModule.
De compilerinstructie Optie VBASupport 1 wordt vóór de eerste macro van de VBA BASIC-module geplaatst.
Een paar VBA-objecten worden ondersteund voor Excel, Powerpoint en Word-toepassingsbestanden. Er zijn beperkte eigenschappen en methodes beschikbaar voor VBA-objecten.
| Excel-ondersteunde VBA-objecten | ||
|---|---|---|
Eigenschappen
ActiveCell : Range
ActiveSheet : Worksheet
ActiveWorkbook : Workbook
DefaultFilePath : String
DisplayAlerts : Boolean
LibraryPath : String
Name : String
Padscheidingsteken : Tekenreeks - zie functie GetPathSeparator
Methodes
Quit
Eigenschappen
Address : String
Methodes
Item(ndx : Variant) : Column
Eigenschappen
Methodes
ExportAsFixedFormat(Optional Type : Integer = xlTypePDF, Optional FileName : String, Optional Quality : Integer = xlQualityStandard, Optional IncludeDocProperties : Boolean, Optional IgnorePrintAreas = Boolean, Optional OpenAfterPublish : Boolean)
Eigenschappen
Methodes
Eigenschappen
Methodes
ExportAsFixedFormat(Optional Type : Integer = xlTypePDF, Optional FileName : String, Optional Quality : Integer = xlQualityStandard, Optional IncludeDocProperties : Boolean, Optional IgnorePrintAreas = Boolean, Optional OpenAfterPublish : Boolean)
Eigenschappen
Methodes
ExportAsFixedFormat(Optional Type : Integer = xlTypePDF, Optional FileName : String, Optional Quality : Integer = xlQualityStandard, Optional IncludeDocProperties : Boolean, Optional IgnorePrintAreas = Boolean, Optional OpenAfterPublish : Boolean)