+ Reply to Thread
Results 1 to 5 of 5

Auto Row Height Protected Template

  1. #1
    Registered User
    Join Date
    08-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    9

    Auto Row Height Protected Template

    Hi,

    I have a template that I created in Excel.
    When I enter text in the unlocked cells I'd like for the row height to automatically adjust (it's on wrap text at the moment).

    I'm not very familiar with macro coding, so how do I do this?

    Thanks!

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Row Height Protected Template

    Hi Ilank,

    Something like this:
    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    08-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Auto Row Height Protected Template

    Xladept, how do I make it apply to the entire spreadsheet and where do I place the code?

  4. #4
    Registered User
    Join Date
    08-27-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Auto Row Height Protected Template

    Sorry, I should add the cell is merged.

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Row Height Protected Template

    When you enter the text - you could use the Worksheet_Change event:

    Please Login or Register  to view this content.
    You would place the code right in the Worksheet in question.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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