I currently have a project using Excel 2007 where I need to allow the user to make a selection of cells (no limit) and then I need to copy of the contents of those selected cells into one cell on a different sheet. I have most of it accomplished but I am stuck on how to retrieve all the text from the selection if the selection is over multiple cells.
I try to use:
Dim selText as String
selText = Selection.Text
But this only works if only one cell is selected, otherwise I get an error. I know there has to be an easy way to do this...Any help is much appreciated.
I try to use:
Dim selText as String
selText = Selection.Text
But this only works if only one cell is selected, otherwise I get an error. I know there has to be an easy way to do this...Any help is much appreciated.