Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 25th, 2005, 04:57 PM
Registered User
 
Join Date: Oct 2005
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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 workbook name qualifier AveryB Excel VBA 1 December 17th, 2007 10: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 02:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.