Moisés, Stephan,

Excuse me for butting in. I just found out that you switched to the
[api-dev] list. I get the funny feeling that the two of you are not
talking about the same thing.

Moisés,

I think Stephan Wunderlich gave you the exact answer you need.
Unless you mean something entirely different of course.

well the given code snippet wanders to Cell B5 and then deletes the
contents ... something similar and for all your three Cells does

'all is the sum of all css.sheet.CellFlags
all = 895
xSheet = ThisComponent.Sheets(0)
xCellRange = xSheet.getCellRangeByName("B5")
xCellRange.clearContents(all)
xCellRange = xSheet.getCellRangeByName("B7")
xCellRange.clearContents(all)
xCellRange = xSheet.getCellRangeByName("B11")
xCellRange.clearContents(all)

Hope that helps

Thanx, this help me a lot, but the problem is that I thought the Macro
recorder did it itself. I selected various cells in a macro and it
created the code I sent you before. Instead I want it do something
similar that you say.

I use this code. But I want to know if it's a bug and if it can be
solved easily.

Thanx a lot

Just what do you mean by "do something similar that you say" ?
And what do you expect the macro recorder to do by itself?
As far as I can see the way your discussion is going now has little
to do with the problem you tried to describe in your first e-mail,
quote:

(Moisés Márquez Gil wrote:)

I need to select and process several cells in Calc at the same time. I cannot
copy these at the same time , for example. I think its trivial to do. If in the
selection the second and consecutives cells were vectors from the first it so
easy to do.
I have no such time to investigate it, but I will to try.

Could it be that you want a macro that does different things depending
on the arguments that you might pass to it ? Or acts on variables or cells that you have set or selected previously? Or do you need more than one macro?

Sincerely,

Gerrit Jasper.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to