Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() In a macro, I am selecting ten columns and creating range names based on the top row. Then I cut cells from another column and paste it to the appropriate column by range name. For example, I find the word "red" in cell D95. I want to paste that word, and the cell next to it, in the column with the range name "red" in the same row, 95. (I just want to move it over so it's in the column with the same name.) If I use the following code, I get an error: Range(Cells(i, "CC"), Cells(i, "CD")).Cut Destination:=Cells(i, "Red") Is there a way for me to specify that "Red" is only the column part of the cell address? Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Headers/Footers from a named range of cells in a worksheet | Excel Discussion (Misc queries) | |||
Create list of Named Ranges | Excel Worksheet Functions | |||
Create named ranges | Excel Programming | |||
Using a formula to create named range reference | Excel Worksheet Functions | |||
Using VB to to create named ranges | Excel Programming |