+ Reply to Thread
Results 1 to 2 of 2

automatic row height to fit text inputted but keep all other rows at a set height - HELP

  1. #1
    Registered User
    Join Date
    12-15-2011
    Location
    Berkshire
    MS-Off Ver
    Excel 2010
    Posts
    13

    Question automatic row height to fit text inputted but keep all other rows at a set height - HELP

    Wonder is someone can help I have been able to do the automatic row height to fit the text thats input if it goes over the minimum height (column H in my excel file) but all the other rows go to the minimum height and the rows are really small, so I would like to set a standard minimum row height of 30

    code am using for autofit is

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    ActiveSheet.Range("h4:h1249").EntireRow.AutoFit
    End Sub

    what do I need to add to say put all other rows to 30 height

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: automatic row height to fit text inputted but keep all other rows at a set height - HE

    Please upload the workbook so that we can see the request in context. Show a before and after situation by copying the sheet in question before any cahnges and manually formatting formatting the copied sheet with the heights and formatting you need.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 03-21-2015, 08:18 PM
  2. Replies: 2
    Last Post: 01-12-2015, 02:52 PM
  3. [SOLVED] Resizing row height to dynamically fit height of text box
    By Jon in forum Excel General
    Replies: 2
    Last Post: 03-06-2014, 01:57 PM
  4. Automatic row height after text entered into wrapped and merged cells
    By SteveRea in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-09-2013, 03:00 PM
  5. [SOLVED] Resizing row height to fit height of text box
    By andyb63uk in forum Excel General
    Replies: 2
    Last Post: 01-19-2012, 12:24 PM
  6. Replies: 17
    Last Post: 02-25-2009, 10:09 AM
  7. How can I get automatic row height for merged cells with text wra.
    By ConfusedLady in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2005, 10:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1