Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default looping thru range extracting data based on character

I have data in columns A and B.
They are separated into groups with a text heading starting with an
open bracket [
I want to loop thru the rows and copy the data starting with each
bracket until I hit the next bracket and put them into a series of
columns.
So the first set would go in a different sheet in A and B, the next Set
would go in C and D.
I am able to find the brackets but not sure what to do next.

This is what I have so far just to find each bracket.
Sub getdata()
For I = 22 To 6000 ' find end of data sets
If Left(Cells(I, 1), 1) = "[" Then StartRow = I

Next
End Sub

Any help would be appreciated.

Reply
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
extracting data from one sheet based on data in another - VLookup? des Excel Worksheet Functions 3 February 4th 09 07:27 PM
extracting data to the right of a set character [email protected] Excel Worksheet Functions 8 August 21st 07 08:56 PM
Extracting data based on content loopkid1 Excel Discussion (Misc queries) 5 March 7th 06 03:08 PM
Looping thru files extracting data gtslabs[_2_] Excel Programming 3 June 3rd 05 04:22 PM
help with looping range and extracting value Pb21 Excel Programming 3 October 19th 04 03:58 AM


All times are GMT +1. The time now is 08:44 PM.

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

About Us

"It's about Microsoft Excel"