+ Reply to Thread
Results 1 to 5 of 5

Advanced filtering not working when a cell is focused on Pivottable...

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    6

    Advanced filtering not working when a cell is focused on Pivottable...

    I have made a search page using advanced filtering in VBA. The search results are displayed from 5 different sheets based on user's choice. Every thing works well except for one condition. The 5 sheets are Purchase, Sales, SReturn, Issued, Recv, each sheet has the data and a pivottable representing the data. Now i select a cell on the pivottable on the purchase sheet and now i go to the search page and select Purchase and click on search. If i do this i get an error, whereas if i select any cell on the data portion ( away from the pivottable ) and again make a search it works. Do the pivottable and advanced filtering has any relation?. I need any ones help to understand why this happens.

    I have attached the file for your reference...

    One more thing, when i filter using dates it works only when i enter the date in MM-DD-YYYY format, other formats not working. Is it possible to make it work using DD-MM-YYYY format.

    Regards
    Sundar
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Advanced filtering not working when a cell is focused on Pivottable...

    The DD-MM-YYYY format is controlled in the option section of EXCELL

  3. #3
    Registered User
    Join Date
    11-28-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Advanced filtering not working when a cell is focused on Pivottable...

    Hi RCM,

    I could not find any such setting in the Excel Options. I can see only language settings, can you tell me where exactly the option is located.

    Regards
    Sundar

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Advanced filtering not working when a cell is focused on Pivottable...

    You are right, my mistake . Excell follows the Operating system standards

    it can be found in

    >Control panel>Change date, times.....

  5. #5
    Registered User
    Join Date
    11-28-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Advanced filtering not working when a cell is focused on Pivottable...

    Hi RCM,

    My regional date format settings are set to DD-MM-YYYY format only. Even i have formatted my data (date field) in dd-MM-YYYY format only. Any suggestion on this.....

+ 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