Thread: CSV
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Darren[_4_] Darren[_4_] is offline
external usenet poster
 
Posts: 1
Default CSV

I'm using VBScript to create a csv file.

I have a zip code field, that keeps being imported as
general and therefore, drops the first zero.

I have tried to replace the string with &Chr(34) to create
double quotes.

Is there a way in vbscript to specify the TYPE of field on
IMPORT, so when the csv is created, it will specify a
field as text?

Basically, If I import a txt file into excel, I can
specify each field type. Can I do it in vbscript code?