LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Auto Fit on Row Height

I have 2 worksheets in a workbook which are filled in by other users using a
selection of drop down lists and vlookups etc. and I want to be able to
automatically have the row height selected by the data entered. I have been
looking through previous discussions and found the following entry which
works a treat for what I am doing, however if I protect the worksheets then
this no longer works any suggestions. There are no meged cells in these
worksheets

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
Cells.EntireRow.AutoFit
Application.EnableEvents = True

Thanks
--
Dragonette
 
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
Row height will not auto format gladfelterk Excel Worksheet Functions 0 May 13th 09 04:18 PM
AUTO ROW HEIGHT manutt Excel Worksheet Functions 2 January 10th 09 11:45 PM
Row Height - Auto-Fit Bajillian Excel Discussion (Misc queries) 1 September 11th 08 02:13 PM
The auto fit row height function Boomer Excel Discussion (Misc queries) 2 June 13th 06 07:36 PM
Row height auto roundup sunflower Excel Discussion (Misc queries) 0 March 10th 06 01:30 AM


All times are GMT +1. The time now is 01:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"