Here is code with several tries.
ActiveSheet.getCellbyposition(n, 0).CellBackColor = RGB(255, 204, 153)
ActiveSheet.getCellbyposition(n, 0).VertJustify.CENTER()
'ActiveSheet.getCellbyposition(n, 0).VertJustify("com.sun.star.table.CellVertJustify.CENTER")
'ActiveSheet.getCellbyposition(n, 0).VertJustify = 2
The first line to change color works. I included that to hopefully show I'm pointing the correct place.
If I follow examples in documentation I get an error if com is not inside of quotes before even attempting to execute.
The only one that does not give a runtime error is the last one with 2 as value; it did not effect the results.
THanks in advance,