Your question
explain how you know it needs to be that?
I have two rows of data, one showing cost (column d above in an earlier response) and one showing msrp (column f above in an earlier response)
The routine you gave me works correctly in column f. This allows me to look at the correct msrp and identify if the cost column is correct. If I see a msrp of 59.95 and a cost of 3.89 I know this 3.89 is not correct a the markup is too much.
What if I just sent you the text file I am trying to import/convert, you may be able to do something with the import routine. Right now I am am prompted by the excell text import wizard when I open the text file from the manufacturer. I set the arrows and get them in the best place I know how.
Here is a file format as received from the manufacturer. My problems are coming between positions 54 and 66.
PRICELIST FILE FORMAT
The following is the format for the files contained on these
diskettes, they are fixed record sizes (104) delimited by a
<cr> and <lf>.
LOCATION NAME DESCRIPTION
________ _____________ _____________________________________
1- 12 Part No. Compressed, no punctuation
13- 28 Part No. with punctuation
29- 53 Description Parts Description
54- 60 Unit Price 9999v999 where 'v' is implied decimal
61- 66 Sugg. Retail Suggested Retail Price 9999v99
67- 70 Qty Price Brk #1 9999 qty necessary for qty price #1
71- 74 ' ' ' #2 ' ' ' ' #2
75- 81 Qty Price #1 9999v999 (3 implied decimals)
82- 88 ' ' #2
89- 92 Unit of Meas. ie, EACH for each, etc
93- 96 Comm COde Commidity COde
97 Product Code Product Code
98 Drag Group 1 = Honda, 2 = Harley
3 = Common, 4 = Misc
99 Type Flag If this field is an '*' then
this part will not be availabe
after current inventories exhausted
100-104 Weight Weight
If you want to extract Drag Specialties only, use the
parts that have a 1, 2, 3 or 4 in the Drag Group (pos. 98).
I hope this helps.
A.B.