I can get area selected by application's .Selection
property.
(I'm using python to access excel com interface)
I want to know how many rows and columns user have selected, for instance
input:
user has selected A1:G8
output:
the selected range starts from Column 1 (by selection.Column)
the selected range starts from Row 1 (by selection.Column)
the selected range is spanning 7 rows (by ?)
the selected range is spanning 8 columns (by ?)
I'm looking at MSDN's Range interface, but the property's doesn't seems to be helpful for this problem.