Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Expand All Column Widths

Is there a way programmatically to go through a Worksheet object and
autoexpand all of the column widths out so I don't see any #######'s when I
view the end result?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 903
Default Expand All Column Widths

What about a none programming solution,
Select all cells
double-click on any boundary between the column letters
http://www.mvps.org/dmcritchie/excel/fillhand.htm#mouse
If you want a macro, you can record one

Some errors of ####### will expand to fit what you got.
See # in your Excel Help
(well I guess you had to be on something before Excel 2002, hmmmmpf!, bad karma)
Okay a negative number formatted as a date is one of them
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"BlockNinja" wrote in message ...
Is there a way programmatically to go through a Worksheet object and
autoexpand all of the column widths out so I don't see any #######'s when I
view the end result?



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
Different widths for each column in a 100% stacked column chart Chart Explorer Charts and Charting in Excel 1 May 21st 09 09:19 AM
Different column widths? NorCalHomeFinance Setting up and Configuration of Excel 2 August 9th 08 09:16 PM
Different column widths Holyhabanero Excel Worksheet Functions 2 January 18th 06 06:17 PM
Column Widths help ? GazMo[_13_] Excel Programming 1 October 26th 04 03:41 PM
Column Widths help ? GazMo[_11_] Excel Programming 2 October 26th 04 12:55 PM


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