+ Reply to Thread
Results 1 to 3 of 3

Merge cells when such rows are hidden

  1. #1
    Forum Contributor wedzmer's Avatar
    Join Date
    06-13-2014
    Location
    Philippines
    MS-Off Ver
    2016
    Posts
    422

    Merge cells when such rows are hidden

    Hello everyone!

    I would like to ask what VBA code would help me with this problem I have.
    I have a hide row function on my sheet where if a cell in A1:A50 is empty, the whole row is hidden.
    However, within that same row, I have with me in columns S30:S32, S33:S35 up to S41 merged cells. The problem is when the cells A30:A50 are empty, the whole row is hidden (which is what I desired) but it also hides the texts within S30:S41...

    I was thinking if there was any way that if these rows within S30:S41 would be hidden due to the function button, that it would automatically merge with S50:S70 so that the texts would still show?

  2. #2
    Forum Contributor
    Join Date
    02-04-2014
    Location
    NSW, Australia
    MS-Off Ver
    Excel 2010
    Posts
    136

    Re: Merge cells when such rows are hidden

    Would it be possible to turn that spreadsheet into a table and use filters?

  3. #3
    Forum Contributor wedzmer's Avatar
    Join Date
    06-13-2014
    Location
    Philippines
    MS-Off Ver
    2016
    Posts
    422

    Re: Merge cells when such rows are hidden

    Quote Originally Posted by lcartwright View Post
    Would it be possible to turn that spreadsheet into a table and use filters?
    What does that actually mean sir?

+ 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. merge cells in rows
    By augino in forum Excel General
    Replies: 2
    Last Post: 01-21-2015, 10:00 AM
  2. [SOLVED] Only selecting visible cells in a table with hidden rows
    By pfeifferjoey in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-02-2014, 09:22 AM
  3. Run Macro on hidden cells/rows
    By SPSK88 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2012, 10:55 AM
  4. Merge Cells from Different Rows
    By sratkins in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2011, 01:43 AM
  5. [SOLVED] how do i merge cells but not rows
    By pvdbijl in forum Excel General
    Replies: 1
    Last Post: 05-17-2005, 04: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