I am trying to write a VBA macro where I can put my cursor in a cell at the top of a range of cells, where the number of rows can vary each time, and select the list of cells and then copy them to the adjoining row. When that is done I want to return to my original list and copy them again and use Paste Special Values to replace the formulas with just the cell values.
I am able to code the first part which is to select each row until a blank is found. I can then do the copy.
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
How can I select the adjoining column and do the Copy and then do a Paste Special Values over the original selection?
Excel 2007 on Windows machine
Thanks, Arich
I am able to code the first part which is to select each row until a blank is found. I can then do the copy.
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
How can I select the adjoining column and do the Copy and then do a Paste Special Values over the original selection?
Excel 2007 on Windows machine
Thanks, Arich