Creating Basic Macros in OpenOffice

MASS PRODUCTION

Article from Issue 53/2005
Author(s):

The OpenOffice productivity suite can use a variety of scripts and macros to automate recurring tasks. The easiest approach is to use the integrated Basic dialect. This article helps you get started with this surprisingly sophisticated programming language.

If you find yourself repeating complex, multi-step tasks in OpenOffice [1], it may be time to create a macro. OpenOffice supports a variety of programming options. Version 1.1 introduced the concept of bridges, which allow users to add their own C, C++, Java, or Python programs. In version 2.0, which is due for release any time now, the basic OpenOffice package will also support the Common Language Interface (CLI), which allows users to add their own Javascript and C# programs. Of all the languages used with OpenOffice, Basic is perhaps the easiest option. This article describes how to get started with creating macros in Basic. Getting Started Basic programming starts in the Tools | Macros menu, which has two entries: Record macro, a macro recorder for interactive use, and Macro..., which opens a new window (Figure 1).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Adding a Dummy Text Feature to OpenOffice.org Writer
  • OpenOffice 2.0 Preview

    At first glance,OpenOffice 2.0 might scare current users with a GUI that closely resembles Microsoft’s competitor product. But on closer inspection, the beast turns out to be a beauty.

  • Workspace: Bracket Notation

    We’ll show you a universal system for marking changes in text documents; and along the way, you’ll get some practical experience with writing OpenOffice marcos.

  • Workspace: Reminders and Microblogs

    If you spend a lot of time in OpenOffice, you can use it to remind you of deadlines or to update your microblog.

  • ExtendedPDF

    The PDF format has many useful features that make it easier for readers to find their way around large documents, but the native PDF export function in OpenOffice doesn’t allow many of these elements. We’ll show you how to create better PDFs in OpenOffice with the ExtendedPDF macro.

comments powered by Disqus

Direct Download

Read full article as PDF:

OpenOffice_Macros.pdf (353.99 kB)

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia