I am trying to write a little macro that can get the range of the cells in which the user has selected. Is there a built in method for this? The ActiveCell won't work because it has to be a selection.
The problem with the Worksheet_SelectionChange is that I want the user to be able to decide if they want to run the macro or not. The macro is called from a toolbar button, the user highlights some cells and clicks the toolbar button to run the macro on those selected cells.
In terms of the Selection object, how would I return the range of the highlighted cells?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.