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: 128
Default A script to write in missing text

Example:

35395.0553 Amb Creamed Rice 425g 12 4150 1 7.69 1.
13 O/stock T
Rennie Peppermint 12's 36 45604 1
25.85 6.00 N/avail T
King Pot Chicken&Mushrm 12 49539 1 10.
89 1.18 N/avail T
4444.4444 Wrigleys Chewy 12 4150 1 7.
69 1.13 O/stock T
Rennie Peppermint 12's 36 45604 1
25.85 6.00 N/avail T
King Pot Chicken&Mushrm 12 49539 1 10.
89 1.18 N/avail T

Above is an example of how my report appears. As you can see there is only
one line of data in column A but B has three lines. What I need is a script
which writes in the number at the side of products so it will sort correctly.
So when I print the report it looks like this

35395.0553 Amb Creamed Rice 425g 12 4150 1 7.69 1.
13 O/stock T
35395.0553 Rennie Peppermint 12's 36 45604 1 25.85 6.
00 N/avail T
35395.0553 King Pot Chicken&Mushrm 12 49539 1 10.89 1.18
N/avail T
4444.4444 Wrigleys Chewy 12 4150 1 7.
69 1.13 O/stock T
4444.4444 Rennie Peppermint 12's 36 45604 1 25.85
6.00 N/avail T
4444.4444 King Pot Chicken&Mushrm 12 49539 1 10.89 1.
18 N/avail T

Any ideas?


--
Message posted via http://www.officekb.com
 
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
How to generate a text file from Excel using a macro or script? Frank Excel Discussion (Misc queries) 1 January 6th 08 05:11 PM
How to generate a text file from Excel using a macro or script? Frank Excel Discussion (Misc queries) 0 January 6th 08 05:11 PM
How do I write a script to add space between numbers in a column? [email protected] Excel Discussion (Misc queries) 4 May 15th 07 04:53 PM
VB Script Regular Expressions - Missing John Taylor Excel Discussion (Misc queries) 2 August 17th 06 12:32 PM
Script to add hyperlink to Excel cell containing text John Doe[_5_] Excel Programming 4 October 11th 04 02:26 AM


All times are GMT +1. The time now is 11:51 PM.

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"