Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default xls to csv conversion

I'm trying to mock a sample csv file that I'm processing. I came
across an online conversion tool that converts excel spreadsheets into
csv files. However, I'm coming across in the converted csv file that I
have 5 commas in the end. Is there anything I can do about that? Does
anyone know why that would be?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default xls to csv conversion

Stanley,

I suspect that at some point you had data in those five columns. When you
hit the delete button, the contents of the cell are cleared, but Excel still
sees those cells as being in the used range. When your utility exports the
file, it includes everything in the used range, and thus those last five
columns.
The best way is to delete via Alt-E-D. You may even have to save the file
before you run your utility. You should be able to see what the Excel sees
as the used range by selecting cell A1 and then hitting Ctl+End. This will
take you to the last used cell in the worksheet.
Hope this helps...

--
Chris Farkas
Excel/Access Developer
http://www.eAlchemy.biz


"Stanley" wrote:

I'm trying to mock a sample csv file that I'm processing. I came
across an online conversion tool that converts excel spreadsheets into
csv files. However, I'm coming across in the converted csv file that I
have 5 commas in the end. Is there anything I can do about that? Does
anyone know why that would be?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default xls to csv conversion

On Nov 7, 3:10 am, eAlchemist
wrote:
Stanley,

I suspect that at some point you had data in those five columns. When you
hit the delete button, the contents of the cell are cleared, but Excel still
sees those cells as being in the used range. When your utility exports the
file, it includes everything in the used range, and thus those last five
columns.
The best way is to delete via Alt-E-D. You may even have to save the file
before you run your utility. You should be able to see what the Excel sees
as the used range by selecting cell A1 and then hitting Ctl+End. This will
take you to the last used cell in the worksheet.
Hope this helps...

--
Chris Farkas
Excel/Access Developerhttp://www.eAlchemy.biz

"Stanley" wrote:
I'm trying to mock a sample csv file that I'm processing. I came
across an online conversion tool that converts excel spreadsheets into
csv files. However, I'm coming across in the converted csv file that I
have 5 commas in the end. Is there anything I can do about that? Does
anyone know why that would be?


Hey Chris,

Thanks for your explanation. I've managed to save the file properly in
a separate routine using a macro that saves the spreadsheet in proper
csv format.

Stanley

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on conversion Help on formula[_2_] Excel Discussion (Misc queries) 3 September 11th 09 07:13 AM
dec 2 bin conversion sai Excel Worksheet Functions 2 October 29th 08 07:21 PM
Conversion Suleman[_2_] Excel Worksheet Functions 1 April 27th 08 08:51 PM
ESN conversion jay-rod Excel Worksheet Functions 2 April 29th 07 11:36 PM
RFT conversion Halray Excel Programming 0 July 8th 05 04:15 PM


All times are GMT +1. The time now is 04:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"