Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 164
Default Splitting Rows

I have the task of scanning in a large number of tables, running them through an
OCR program into Excel. for the most part it works just fine. But, on occasion I
end up getting a number of rows combined into one row. I would like to know if
there might be an easy way of extracting/splitting the information into it's own
row(s)

--

Regards
Michael Koerner



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Splitting Rows

I think we would have to have more information to help you. e.g. Are
there always the same nymber of characters in a row, Is there any
identifiers to aim for such as all rows start with "XXXX" etc

DavidP


On Fri, 7 Nov 2003 16:25:04 -0500, "Michael Koerner"
wrote:

I have the task of scanning in a large number of tables, running them through an
OCR program into Excel. for the most part it works just fine. But, on occasion I
end up getting a number of rows combined into one row. I would like to know if
there might be an easy way of extracting/splitting the information into it's own
row(s)


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 164
Default Splitting Rows

No, the number of characters can differ. I probably should have tried to be more
explicit.

The rows are laid out in 9 columns. When the OCR program does it correctly, it
looks like this for a single row

R1 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx

Then I receive the following all in 1 row
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
R2 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx

What I have been doing, depending on the number of rows inserted into a single
row is to duplicate then manually delete the information from each cell. Using
the R2 example above, create a R3, and R4. Hope this helps. I thought there
might be away to do this with some sort of macro, that would searh for the line
breaks in a cell.

--

Regards
Michael Koerner


"DavidP" wrote in message
...
I think we would have to have more information to help you. e.g. Are
there always the same nymber of characters in a row, Is there any
identifiers to aim for such as all rows start with "XXXX" etc

DavidP


On Fri, 7 Nov 2003 16:25:04 -0500, "Michael Koerner"
wrote:

I have the task of scanning in a large number of tables, running them through

an
OCR program into Excel. for the most part it works just fine. But, on occasion

I
end up getting a number of rows combined into one row. I would like to know if
there might be an easy way of extracting/splitting the information into it's

own
row(s)



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Splitting Rows

Michael

I am still a little vague as to what info is comming in as the number
od characters appear the same. is it possible to send a sample of a
file that is giving you a problem and I will see if I can sort it for
you

David {

On Sat, 8 Nov 2003 08:59:10 -0500, "Michael Koerner"
wrote:

No, the number of characters can differ. I probably should have tried to be more
explicit.

The rows are laid out in 9 columns. When the OCR program does it correctly, it
looks like this for a single row

R1 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx

Then I receive the following all in 1 row
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
R2 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx

What I have been doing, depending on the number of rows inserted into a single
row is to duplicate then manually delete the information from each cell. Using
the R2 example above, create a R3, and R4. Hope this helps. I thought there
might be away to do this with some sort of macro, that would searh for the line
breaks in a cell.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 164
Default Splitting Rows

David, thanks for going to all the trouble trying to make sense of my jibberish
I think I may have solved the problem, outside of Excel. Before bringing in the
product to the OCR program, I enhanced the lines that represent the rows and
columns, and everything seems to be recognized properly.

It all looked the same just so that it would line up when being read, if that
makes any sense.

--

Regards
Michael Koerner


"DavidP" wrote in message
...
Michael

I am still a little vague as to what info is comming in as the number
od characters appear the same. is it possible to send a sample of a
file that is giving you a problem and I will see if I can sort it for
you

David {

On Sat, 8 Nov 2003 08:59:10 -0500, "Michael Koerner"
wrote:

No, the number of characters can differ. I probably should have tried to be

more
explicit.

The rows are laid out in 9 columns. When the OCR program does it correctly, it
looks like this for a single row

R1 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx

Then I receive the following all in 1 row
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
R2 xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx

What I have been doing, depending on the number of rows inserted into a single
row is to duplicate then manually delete the information from each cell. Using
the R2 example above, create a R3, and R4. Hope this helps. I thought there
might be away to do this with some sort of macro, that would searh for the line
breaks in a cell.



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
Splitting rows in a worksheet Taryn Excel Discussion (Misc queries) 11 May 6th 09 04:51 PM
Splitting Rows - AGAIN Fishman4 Excel Worksheet Functions 0 December 21st 06 02:26 PM
Splitting Rows AriCara Excel Discussion (Misc queries) 0 September 29th 06 08:17 PM
Splitting Rows ALoecher New Users to Excel 1 March 10th 06 09:26 PM
Splitting Rows jack Excel Discussion (Misc queries) 3 January 31st 05 09:12 PM


All times are GMT +1. The time now is 08:19 AM.

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"