multi cells selected
But you still could get the address of each cell in the selection:
Dim myCell as range
for each mycell in selection.cells
msgbox mycell.address(0,0)
next mycell
and you can check with this kind of code.
if selection.cells.count 1 then
'multiple cells selected
end if
if selection.areas.count 1 then
'multiple areas selected
end if
greg wrote:
Can I tell if multi cells are selected? And can I get each cell?
So if i
click A1
Ctrl+click D1
Ctrl+click G1
Can I get each of these cells?
thanks
--
Dave Peterson
|