Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old October 25th, 2005, 04:57 PM
Registered User
Join Date: Oct 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Comma Delimiter / Text Qualifier

Dear group

When exporting data to a csv file in excel, how can I make sure all data values are quote wrapped (i.e. surround by double quotation marks), this includes empty fields, which will appear in the csv file as two quote characters toegether (e.g. "")

example csv file i wish to create.

"123456","03","20020404","06","Delay Reason","","","","","",""

I know in Access you can select Comma as the Delimiter, and " as the Text Qualifier during export options.  However our client wishes to use Excel.

I was going to use ISBLANK function to replace blanks with "".  & Use =CHAR(34)&'Data Entry Form'!B7&CHAR(34) to warp data items in quotes.

Is there a better way.

Thank you in advance
Reply With Quote

Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 workbook name qualifier AveryB Excel VBA 1 December 17th, 2007 09:41 PM
this qualifier gregoryaross Book: Wrox's Visual C# 2005 Express Edition Starter Kit 0 June 17th, 2006 07:39 AM
Multiple delimiter Text file import into Access Suomi Access VBA 2 June 12th, 2005 10:26 AM
Comma delimited text files bmurrin Beginning VB 6 8 February 26th, 2004 01:07 PM

All times are GMT -4. The time now is 03:34 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.