+ Reply to Thread
Results 1 to 7 of 7

AutoFiltering Multiple Sheets?

Hybrid View

  1. #1
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: AutoFiltering Multiple Sheets?

    hi Sarge,

    I think that Dave's code in post number 4 will have problems if there are any completely blank rows or columns within each of the spreadsheets because the use of "With WS.Range("A1")" rather than the complete range means that Excel will "guess" what to sort using the current region.

    Before Dave's code will do anything, you have to make the macro start somehow, for example when you push a button on sheet 1 after making your changes. However from some experiences I've had when sorting data with formulae within the range, I think you may find you still have problems due to the formulae references being messed up...

    Can you please attach a sample workbook (with no confidential data) for us to investigate?
    (hopefully in a PC compatible format or I can't help)

    Dave
    Just curious, why have you dimmed the ws as an object rather than a worksheet (is it something to do with the object model in Mac's)?

    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: AutoFiltering Multiple Sheets?

    Yes, it should have been worksheet not object...

+ 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