I want to count no of different cells which are selected using VBA.
Consider if we select five distinct cells – D5, C2, E7, A4, B1.
Is there a way I can count these number of cells.
Secondly how can I retrieve data in these cells. Lets say I want to store it in an array.
Thank you for the help.
1 Answer