Code: Select all
cell = ThisDocument.getCurrentSelection()
Then when I try
Code: Select all
y = cell.CellAddress.Row
But I have inspected 'cell' like so
Code: Select all
msgbox cell dbg_properties
Code: Select all
cell = ThisDocument.getCurrentSelection()
Code: Select all
y = cell.CellAddress.Row
Code: Select all
msgbox cell dbg_properties
Nice solution, but how could one figure out about this 'ViewData' property and its structure and meaning? I have searched but in the API Reference it only says thatVilleroy wrote:viewtopic.php?f=20&t=86922&p=406973#p406973 gets the active cell of a view even when a range, multiple ranges or shapes are selected.