Wondering if there is any documentation on things that don't work with the
recorder.
Just tried again and most of it worked, but some issues came up.
First, entered a formula, and it worked in the recording, but in playing the
macro it failed. Was able to modify the lines, and got it to work.
dim args7(0) as new com.sun.star.beans.PropertyValue
args7(0).Name = "StringName"
args7(0).Value = "=if(I1=""Life"";""12/18"";i1)"
Had to add the double quotes versus how it was recorded.
Second issue was it deleted two different columns. When recording clicked
on the column with mouse, and deleted each column. Record didn't record
anything of clicking on the columns, but just the delete command. Added a
goto cell and got that to work as well.
dim args16(0) as new com.sun.star.beans.PropertyValue
args16(0).Name = "ToPoint"
args16(0).Value = "$h$1"
dispatcher.executeDispatch(document, ".uno:GoToCell", "", 0, args16())
rem ----------------------------------------------------------------------
dispatcher.executeDispatch(document, ".uno:DeleteColumns", "", 0, Array())
dim args17(0) as new com.sun.star.beans.PropertyValue
args17(0).Name = "ToPoint"
args17(0).Value = "$L$1"
dispatcher.executeDispatch(document, ".uno:GoToCell", "", 0, args17())
rem ----------------------------------------------------------------------
dispatcher.executeDispatch(document, ".uno:DeleteColumns", "", 0, Array())