LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default New to macros - find/move question

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
move to the right after hitting enter using macros Santa Fe Al Excel Discussion (Misc queries) 2 November 18th 09 07:45 PM
Move/Copy Worksheet with Macros Hansplay Excel Discussion (Misc queries) 2 October 9th 09 05:51 PM
Macros Move when Printing liz217 Excel Discussion (Misc queries) 2 August 22nd 05 03:32 PM
How do I move a toolbar with custom macros over to another computer? Colin Higbie Excel Programming 1 January 8th 05 09:39 PM
Can't Move Menu with Macros to Another Folder Arnold Dubin Excel Programming 1 June 4th 04 04:20 PM


All times are GMT +1. The time now is 05:57 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"