Consulting

Results 1 to 4 of 4

Thread: autofit cell height for merged cells

  1. #1
    VBAX Contributor
    Joined
    Jun 2019
    Posts
    155
    Location

    autofit cell height for merged cells

    Dear Team,

    I have a problem with auto fit height with merged cell.

    I am having sheets Data, Sheet3. Sheet3.a. In data sheet i merged C5&D5 cells and entering address and the same was copied to Sheet3 & Sheet3.a with range of B8:F9 which is merged.

    When i am entering the address in Data C5&D5 the entire row should auto fit and also Sheet3 & Sheet3.a also to be auto fit automatically.

    The sample file is attached here.

    Can any one help me for this
    Attached Files Attached Files

  2. #2
    VBAX Master paulked's Avatar
    Joined
    Apr 2006
    Posts
    1,007
    Location
    It's been said sooooo many times in this and other forums - AVOID MERGED CELLS
    Semper in excretia sumus; solum profundum variat.

  3. #3
    VBAX Contributor
    Joined
    Jun 2019
    Posts
    155
    Location
    If i remove merging the alignment get problem. Please help me with merged cell

  4. #4
    VBAX Master paulked's Avatar
    Joined
    Apr 2006
    Posts
    1,007
    Location
    Design is key... fail to prepare, prepare to fail.

    When designing any sheet for viewing/presentation I tend to avoid using cells as the holder of info as much as possible (unless, for example, a table is needed). Text boxes, graphs, shapes etc are the things which can be non-functional but really useful for presenting the data to the user in the form of a dashboard. Do the calculations, data storage etc on other sheets but, especially when using VBA, avoid merged cells.

    I'm sorry, but I'm not even going to look at your file, the heading scares me off!
    Semper in excretia sumus; solum profundum variat.

Posting Permissions

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