View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
StargateFanNotAtHome StargateFanNotAtHome is offline
external usenet poster
 
Posts: 13
Default AutoFit macro that will not affect the header row?

I've tried:
Selection.Rows.AutoFit
and
ActiveSheet.Rows.AutoFit

Selection.Rows.AutoFit only affects the active row one is on, which is
not enough. But the ActiveSheet one affects the entire sheet, which
would be okay if there were no header row.

Is there a way to get the macro fine-tuned to ignore the header row,
by any chance?

Thanks! :oD
(XL2003)