Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Print CSV File With Correct Column Width

Hi All,

I want to be able to print CSV files directly to the printer so that
the data appears in columnar format. I know I can open them in Excel
and adjust the column width. However, this has to work without opening
the file. Any suggestions?

tod
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Print CSV File With Correct Column Width

The point of using CSV files is that each field is separated by a comma. So the
data isn't in columns.

Maybe you could create a macro that would open the CSV file, autofit the
columns, print the worksheet, and close (without saving) the file.





todtown wrote:

Hi All,

I want to be able to print CSV files directly to the printer so that
the data appears in columnar format. I know I can open them in Excel
and adjust the column width. However, this has to work without opening
the file. Any suggestions?

tod


--

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
print out is not correct,page width differrant ISSUE IN MS OFFICE Excel Discussion (Misc queries) 0 August 24th 09 07:32 AM
Change Cell Width WITHOUT changing Column width dww701 Excel Discussion (Misc queries) 1 January 12th 09 10:52 PM
Create a macro which takes a column name and width and sets the column width to what it should be Ag Excel Programming 4 September 29th 07 11:29 PM
ActiveWindow.VisibleRange.Width - Is this the correct code StevenS Excel Programming 1 October 15th 05 06:34 AM


All times are GMT +1. The time now is 02:25 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"