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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |