Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Art
 
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   Report Post  
Nick Hodge
 
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



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
How to group similar column titles together???? vrk1 Excel Discussion (Misc queries) 2 April 30th 05 12:17 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM
Two column widths for the same column Juggle Excel Worksheet Functions 1 March 1st 05 10:55 PM
Pasting all but Column widths doesnt get pasted. Hari Prasadh Excel Discussion (Misc queries) 1 February 13th 05 06:51 PM
Vary the column widths for different rows Marty Excel Discussion (Misc queries) 2 January 4th 05 11:08 PM


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