macros and writing to cells

Discuss the spreadsheet application
Post Reply
duncanbbd
Posts: 1
Joined: Sun Dec 09, 2007 10:27 pm

macros and writing to cells

Post by duncanbbd »

Hi,
I am writing a simple macro and wish to fill some cells. I have an example from an Excel spreadsheet which uses the "Cells(1,1) = 200" format as an example.

I can't seem to do this in openoffice, i.e 'cells' is not a valid function. (I do see however other specific functions from OO to do this), but the project is for university and I have to submit as an XLS file so I'd like to be able to use 'Cells' function.

is there some information on the compatibility of writing to cells across OO and XLS ?

thanks for any help.
RonIA
Volunteer
Posts: 139
Joined: Mon Oct 08, 2007 1:34 am
Location: Iowa USA

Re: macros and writing to cells

Post by RonIA »

Sorry, the macro languages between OO.o and MS Office are not compatible. Anything you find out about how to address a particular cell in OO.o will not translate when you save as XLS format.
Ron from Iowa, USA
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: macros and writing to cells

Post by Villeroy »

Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply