Solved

Exporting Data from Excel to .CSV format, for Blank Columns..?

Posted on 2012-04-05
2
175 Views
Last Modified: 2012-04-05
Experts,

I need to know how to export BLANK columns that are at the end of each record / row.?

When I SAVE AS a .CSV file, I don't get COMMA DELIMETERS for any row that that last 10 or so Columns are BLANK.

My receiving system needs to see the COMMA Delimeter even if the column is blank. This is ONLY  happening if the end  of each record row has blanks in the columns.

Thanks
0
Comment
Question by:MIKE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Accepted Solution

by:
pony10us earned 500 total points
ID: 37813361
Try:

Put a formula that evaluates to empty (=”" ) in the last column of  the rows that are empty:

1.select the range in the last column: edit->goto, click on the “Special…” button, Choose “Blanks” and click OK.

2.type the formula: =”"

3.hit ctrl-enter

Now when you save the document the appropriate number of delimeters should be present, even in rows with empty cells.
0
 
LVL 17

Author Closing Comment

by:MIKE
ID: 37813928
I found another solution as well.. a work-around really... I simply add some coding that I believe will NOT be found anywhere in the data to the LAST COLUMN for the rows that show blank cells at the end. So that last one will now contain a CODE. I decided on my full name spelled backwards with first letter of each name capitalized.

I then export to .CSV...and since the code is there...ALL "comma" delimeters are there.

Then using WordPad,... I do global FIND/REPLACE on the code...find the code and replace with a blank or nothing...

Worded like a charm

Thanks
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question