PC Review


Reply
Thread Tools Rate Thread

how to change 1 line of data to multiple rows again...

 
 
Daniel M
Guest
Posts: n/a
 
      26th Sep 2007
I have a macro that formats column data and imports it into an access
database. The data is scanned in with a barcode scanner. The problem is i
have to hit enter in between each item. All items are the same length. I
would like to see if i can format the data in a row to a column with a macro
after entry.

ie: All data in A1 =
02-00123402-12345602-845645
where all number are 02-xxxxxx then repeats with the next item.

I would like the data to be as follows:
A1 02-001234
A2 02-123456
A3 02-845645
where the data is in column A rows 1-3.

Copy, paste special, transpose does not work for this...

Any ideas? Thanks.


 
Reply With Quote
 
 
 
 
Alok
Guest
Posts: n/a
 
      26th Sep 2007
Hi Daniel,

Put the starting stringin A1. Enter the following formua in A2
=MID($A$1,1+(ROW()-2)*9,9)
And then extend the formula into cells A3 and A4.

Alok

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
edit fields to change multiple rows of data p-rat Microsoft Access Form Coding 2 25th Jun 2009 12:02 AM
Moving data from multiple rows to single rows Pete Microsoft Excel Worksheet Functions 5 16th Feb 2008 01:51 PM
how to change 1 line of data to multiple rows Daniel M Microsoft Excel Programming 2 25th Sep 2007 12:17 PM
Inserting multiple rows in excel with data in consecutive rows =?Utf-8?B?dGVjaG5vdHJvbmlj?= Microsoft Excel Programming 2 20th Oct 2005 03:12 PM
RE: How to change multiple rows in a table to multiple columns and on. =?Utf-8?B?T2Zlcg==?= Microsoft Access VBA Modules 0 13th Apr 2005 11:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:34 PM.