Results 1 to 12 of 12

Auto re-sizing a merged cell based off a dynamic search?

Threaded View

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    california
    MS-Off Ver
    Newest
    Posts
    23

    Auto re-sizing a merged cell based off a dynamic search?

    Hi guys,

    I've got a merged cell (A9) that pulls in information from a V-lookup from the search box selection in 'Job Title' cell. The data gets routed to cell A9 and it varies from 2 lines to 8 lines of information. Currently, I have cell A9 set up to be able to contain enough space for 8 lines of data roughly.

    Is it possible to write some code or format cell A9 such that the size of the cell automatically adjusts the row height to the size of the information that is bringing brought in?

    Want: I.E. if the user selects an entry that returns 2 lines of data, I want the cell to shrink to match to fit 2 lines of data. Vica versa, if the v-lookup returns 8 lines of data, I want the cell to expand to match to fit those 8 lines of data.

    Is this possible?

    I'm attaching a picture to show how awkward cell A9 is when it only returns 2 lines of data - so much empty space below the data.
    Attached Images Attached Images
    Last edited by tonyridino; 10-21-2015 at 02:45 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Auto sizing charts based on null values
    By ejoneslor in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-01-2015, 09:25 AM
  2. Auto size cells on visible columns Not Auto-sizing correctly
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-27-2014, 02:03 PM
  3. Auto Sizing Cell Comments
    By PosseJohn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2013, 11:32 AM
  4. Dynamic Array Sizing
    By AlvaroSiza in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-29-2012, 02:11 PM
  5. Dynamic sizing of a chart object
    By gvm in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-21-2005, 07:40 PM
  6. Comment Box Auto-sizing
    By Bill Davis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-13-2005, 05:06 PM
  7. Column Auto Sizing
    By oranskeer in forum Excel General
    Replies: 2
    Last Post: 01-04-2005, 08:06 PM

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