Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default autoformat a .csv file

You'll need a macro that does the formatting.

But .csv files are plain old text files that don't contain macros.

You could create a second workbook that opens that .csv file and formats it the
way you want, though.

Then the user (you?) would open that second workbook to run the macro that
imports the data and formats it the way you want.

You can get pretty serviceable code by recording a macro when you do it
manually.

JayKon wrote:

I have an application that creates a .csv file and calls EXCELL.EXE with that
file as an argument. I would like to have EXCEL autoformat it before
displaying it.

The idea is to provide a desktop icon that a user clicks to get the current
data.


--

Dave Peterson
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
saving .csv formated file Shmuel Excel Discussion (Misc queries) 4 July 27th 06 05:55 PM
Export EXCEL spreadsheet to .csv file [email protected] Excel Discussion (Misc queries) 5 June 8th 06 02:32 PM
File A and File B Together BillCPA Excel Discussion (Misc queries) 1 June 6th 06 03:18 PM
.csv drops "0" when saved, even if file was set as "text". TRminator Excel Discussion (Misc queries) 3 November 2nd 05 02:11 PM
.CSV File into .XLS file acyakos Excel Discussion (Misc queries) 5 April 7th 05 12:50 PM


All times are GMT +1. The time now is 09:16 AM.

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"