+ Reply to Thread
Results 1 to 3 of 3

VBA to format filter

  1. #1
    Registered User
    Join Date
    04-29-2010
    Location
    Gympie, Australia
    MS-Off Ver
    Excel 2003
    Posts
    9

    VBA to format filter

    Can anyone help with a VBA code to format the filter to display multiple rows when some of the cells have been merged?

    or

    Can anyone help with a VBA code to format all rows within an activity that has merged cells and still retain all the text from the individual rows rather than only the upper-left most data?

    Thank you.
    Attached Files Attached Files
    Last edited by kengaroo; 11-18-2010 at 06:27 PM. Reason: Solved

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VBA to format filter

    AutoFilter doesn't work that way. Merged cells are a no-no in any good sheet design and completely breaks the functionality of the AutoFilter when done as you have done.


    Isn't this a duplicate post?
    http://www.excelforum.com/excel-gene...et-filter.html
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-29-2010
    Location
    Gympie, Australia
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: VBA to format filter

    Thank you.

    Not a duplicate post though as I asked from a macro perspective specifically, in a more appropriate forum, based upon the rules.

    No one was able to answer my first post as it was poorly explained.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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