A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Column widths - locking down



 
 
Thread Tools Display Modes
  #1  
Old May 9th, 2005, 08:55 PM
Art
external usenet poster
 
Posts: n/a
Default Column widths - locking down

I have developed a great sheet with 4 separate SQL queries to give users a
report card.

All works wonderfully except that each time the sheet auto-refreshes, my
column widths compress down which makes the sheet hard to read.

Is there a way to lock down the colum width so it doesn't change?

Thanks
  #2  
Old May 9th, 2005, 11:00 PM
Nick Hodge
external usenet poster
 
Posts: n/a
Default

Art

You could try un-checking 'adjust column widths' in 'Data range properties'
by right-clicking on the external data table. You could also, if this
fails, put some code in the Worksheet_Change() event like so

Private Sub Worksheet_Change(ByVal Target As Range)
Columns.AutoFit
End Sub

This way any entry in the worksheet that contains the code will autofit the
data

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS

"Art" wrote in message
...
I have developed a great sheet with 4 separate SQL queries to give users a
report card.

All works wonderfully except that each time the sheet auto-refreshes, my
column widths compress down which makes the sheet hard to read.

Is there a way to lock down the colum width so it doesn't change?

Thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Worksheet Functions 12 April 17th, 2005 10:36 PM
Locking Column Widths in Datasheet View TarpnZeke Using Forms 1 February 25th, 2005 04:05 AM
How can I sort an entire spreadsheet from a list prod sorter Worksheet Functions 4 November 17th, 2004 03:43 AM
Column E cell contents added into Column D contents (not overwriting data but mixing) creativetechguy General Discussion 2 August 5th, 2004 07:32 PM


All times are GMT +1. The time now is 07:35 AM.


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