Oxetos qu'almite VBA

Conteníu

# VBA supported Data Model

LibreOffice Basic adds this set of functionalities when VBA Office support is active.

These exclusive LibreOffice 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.

This help page needs further work for correctness and completion. Please join the LibreOffice project and help us out to write the missing information. Visit our web page on writing Help contents.

## Common objects

## Oxetos, propiedaes y métodos del Excel

Oxetos VBA que l'Excel almite
Application Columns | Range Rows | Workbook Worksheet

### Aplicación

Propiedaes

- ActiveCell : Range

- ActiveSheet : Worksheet

- ActiveWorkbook : Workbook

- DefaultFilePath : String

- DisplayAlerts : Boolean

- LibraryPath : String

- Name : String

- PathSeparator : String - see GetPathSeparator function

Métodos

- GetOpenFileName() As Variant - Returns False if dialog canceled.

- Quit

### Columnes

Propiedaes

- Address : String

Métodos

- Item(ndx : Variant) : Column

### Range

Propiedaes

Métodos

- ExportAsFixedFormat(Optional Type : Integer = xlTypePDF, Optional FileName : String, Optional Quality : Integer = xlQualityStandard, Optional IncludeDocProperties : Boolean, Optional IgnorePrintAreas = Boolean, Optional OpenAfterPublish : Boolean)

### Rows

Propiedaes

Métodos

### Workbook

Propiedaes

Métodos

- ExportAsFixedFormat(Optional Type : Integer = xlTypePDF, Optional FileName : String, Optional Quality : Integer = xlQualityStandard, Optional IncludeDocProperties : Boolean, Optional IgnorePrintAreas = Boolean, Optional OpenAfterPublish : Boolean)

### Worksheet

Propiedaes

Métodos

- ExportAsFixedFormat(Optional Type : Integer = xlTypePDF, Optional FileName : String, Optional Quality : Integer = xlQualityStandard, Optional IncludeDocProperties : Boolean, Optional IgnorePrintAreas = Boolean, Optional OpenAfterPublish : Boolean)

## Oxetos, propiedaes y métodos del PowerPoint

## Oxetos, propiedaes y métodos del Word

Temes rellacionaos

VBA support in LibreOffice

Propiedaes VBA

Exclusive VBA Functions and Statements

Option VBASupport Statement