+ Reply to Thread
Results 1 to 3 of 3

Run Code When Cell is Changed - Where am i going wrong

  1. #1
    Forum Contributor
    Join Date
    04-13-2010
    Location
    England
    MS-Off Ver
    Office 2016 365
    Posts
    211

    Run Code When Cell is Changed - Where am i going wrong

    Hi,

    I've trawled various posts and come up with some code that should change the filters on a pivot table, in a different sheet, when the user the changes a field on a sheet. All it should do is change the Year and Quarter filter on a pivot table in a different sheet when the Quarter field on this sheet is changed.

    It doesn't seem to want to run though, at all - can't even step into it with F8!! Can anyone see where my code is wrong? Thanks in advance


    Please Login or Register  to view this content.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Run Code When Cell is Changed - Where am i going wrong

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor
    Join Date
    04-13-2010
    Location
    England
    MS-Off Ver
    Office 2016 365
    Posts
    211

    Re: Run Code When Cell is Changed - Where am i going wrong

    Sorry, marked it as solved so someone didnt waste their time replying.

    I had the code located in a seperate module, however, the code must be placed on the actual worksheet itself for it to work

+ 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