I want to obtain the cells I selected in a spreadsheet.
I found that If one selects some cells (for instance C1 to C3) and changes into the python console and inserts:
Code: Select all
App.ActiveDocument.Spreadsheet.cells.Content
Code: Select all
'<Cells Count="3">\n <Cell address="C1" content="1" />\n <Cell address="C2" content="2" />\n <Cell address="C3" content="3" />\n</Cells>\n'
This shows me that there has to be a way to access the requested information, but I cant say how to do it to get it in a structured form like a list (without extracting it from the above given text ).
BR,
HoWil