But before that I would like to learn if what I'm trying to do is technically impossible.
Since quotes are used for strings in macros, OO basic does not let me insert this code below.
I tried to declare even a variable. But no, still no joy. Anyone have any idea?
Code: Select all
Sub Main
Dim ABS as string
ABS = CHAR(34)&"E1"&CHAR(34)
cell=Thiscomponent.Sheets(1).getcellrangebyname("ax1")
cell.string="=INDIRECT(ADDRESS(1;1;;;"+""+ABS+""+"))"
cell.formula=cell.string
End Sub