Not sure if this is the right forum for this question, so please point me in the right direction.
We are currently sending a main frame file, through the IBM MQ system, to create a .csv file. This csv file is then sent to the customer's Lotus Notes email account, which opens it as an Excel spreadsheet.
The problem occurs in my Part Number column. The part numbers are text fields, but some are only numbers. To make matters worse, some have 0 (zero) as the first number in the part number.
Excel treats these cells as numeric. Right justified and no leading zeroes. At present, the customer has to manually format the column as text to get it left justified. (Not sure how he's handling the leading zero situation.)
Does anyone know what needs to be done to get Excel to treate these fields as text? I've tried adding a single quote to the beginning of the field when it's created on the main frame, but the single quote then appears in every part number field. It causes the field to be left justified and retains the leading zero, but we don't want to look at the single quote!
If I've left out any necessary details, please ask and I'll try to provide the answers.
Randy
We are currently sending a main frame file, through the IBM MQ system, to create a .csv file. This csv file is then sent to the customer's Lotus Notes email account, which opens it as an Excel spreadsheet.
The problem occurs in my Part Number column. The part numbers are text fields, but some are only numbers. To make matters worse, some have 0 (zero) as the first number in the part number.
Excel treats these cells as numeric. Right justified and no leading zeroes. At present, the customer has to manually format the column as text to get it left justified. (Not sure how he's handling the leading zero situation.)
Does anyone know what needs to be done to get Excel to treate these fields as text? I've tried adding a single quote to the beginning of the field when it's created on the main frame, but the single quote then appears in every part number field. It causes the field to be left justified and retains the leading zero, but we don't want to look at the single quote!
If I've left out any necessary details, please ask and I'll try to provide the answers.
Randy