22.01.2015 Views

OpenOffice.org Macros Explained - LibreOffice-NA.US

OpenOffice.org Macros Explained - LibreOffice-NA.US

OpenOffice.org Macros Explained - LibreOffice-NA.US

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

15.3.5. Retrieving, inserting, and deleting columns and rows....................................449<br />

15.3.6. Retrieving and setting data as an array............................................................451<br />

15.3.7. Computing functions on a range......................................................................452<br />

15.3.8. Clearing cells and cell ranges..........................................................................453<br />

15.3.9. Automatic data fill...........................................................................................453<br />

15.3.10. Array formulas...............................................................................................455<br />

Computing multiple functions on a range....................................................................456<br />

Cells with the same formatting.....................................................................................458<br />

Sorting..........................................................................................................................459<br />

Sheets................................................................................................................................463<br />

Linking to an external spreadsheet...............................................................................464<br />

Finding dependencies by using auditing functions......................................................466<br />

Outlines.........................................................................................................................467<br />

Copying, moving, and inserting cells...........................................................................468<br />

Data pilot tables............................................................................................................470<br />

A data pilot example................................................................................................470<br />

Generating the data.............................................................................................471<br />

Creating the data pilot table................................................................................473<br />

Manipulating data pilot tables.................................................................................474<br />

Data pilot fields...................................................................................................475<br />

Filtering data pilot fields.....................................................................................475<br />

Tables..................................................................................................................477<br />

Sheet cursors.................................................................................................................477<br />

Calc documents.................................................................................................................479<br />

Named ranges...............................................................................................................479<br />

Protecting documents and sheets..................................................................................481<br />

Controlling recalculation..............................................................................................481<br />

Using Goal Seek...........................................................................................................481<br />

Writing your own spreadsheet functions...........................................................................482<br />

Using the current controller..............................................................................................484<br />

Selected cells................................................................................................................484<br />

Enumerating the selected cells.................................................................................485<br />

Selecting text...........................................................................................................486<br />

The active cell..........................................................................................................486<br />

General functionality....................................................................................................488<br />

Converting Excel macros..................................................................................................490<br />

Control Calc from Microsoft Office.................................................................................491<br />

A better macro recorder....................................................................................................491<br />

Conclusion.........................................................................................................................492<br />

ix

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!