Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a spreadsheet with a bunch of data in column A. I would like to have a macro that starts at row 1, searches for predetermined sets of text in A, and if found, cuts/pastes that row of text one cell up and to the right. Example. Column A Title name data name data Title name test name test name data Title Each 'data' row and each 'test' row correspond with the 'name' above it. Cut each 'data' row found and paste it into the the corresponding 'name' row (one above, one column over (column B)). Cut each 'name' row found and paste it into the corresponding 'name' row (one row up but column B). ** 'data' and 'test' rows contain other text as well, but cell will "start" with either 'data' or 'test'. ** Rows will vary - not necessarily 'every other' because there are some 'titles' mixed in intermittently. Any help would be appreaciated. Thank you! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
move to the right after hitting enter using macros | Excel Discussion (Misc queries) | |||
Move/Copy Worksheet with Macros | Excel Discussion (Misc queries) | |||
Macros Move when Printing | Excel Discussion (Misc queries) | |||
How do I move a toolbar with custom macros over to another computer? | Excel Programming | |||
Can't Move Menu with Macros to Another Folder | Excel Programming |