View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
keri keri is offline
external usenet poster
 
Posts: 74
Default How to disable column autosizing in Excel 2007

Nick,

I don't know how to stop this happening. However you could just set the
column widths using code and then I don't think they will change (sorry
if i'm wrong). However all number values will show as ##### if the
width is too small.

Sub changecolumnwidths()
ActiveSheet.Range("a1:g20").Select
Selection.ColumnWidth = 5
End Sub