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: 1
Default Search for word and copy

Hi All
I am doing this from home having spent the best part of the day
cutting and pasting data which I know can be done by VB but alas my VB
skills have never been good so any help would be brilliant!!!
I have a column of data imported from a text file with the start of
each line of cells numbered "Part 1" then 5 rows of data beneath then
"Part 2" followed by 4 rows of data, then "Part 3" and so on. The rows
of data all in Column A vary in size.
Is it possible to write a macro that will search for say "Part" find
the next then copy the cells to include the first "Part" plus cells up
to but not the next "Part" take this information to another worksheet
transpose it so that it is now in a row then loop back until there is
no more data to copy?

I have tried searching but have not had much success.

Many thanks in advance.


Mars
 
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
Macro: search word, select row, copy. Raul[_2_] Excel Programming 3 June 21st 07 04:51 PM
Search Excel and copy result into word [email protected] Excel Programming 1 January 17th 07 02:08 PM
macro to intsert a word using the "Find" command to search for a word Stuart[_3_] Excel Programming 1 November 29th 06 05:13 AM
search for a specific word and copy the word and the preceeding words until a comma DHANANJAY Excel Programming 12 December 31st 05 12:53 PM
need formula to search column for a word and return another word Skyline Excel Discussion (Misc queries) 5 November 18th 05 10:00 PM


All times are GMT +1. The time now is 04:29 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"