+ Reply to Thread
Results 1 to 9 of 9

Worksheet change macro no longer working

  1. #1
    Registered User
    Join Date
    12-10-2015
    Location
    Southampton, England
    MS-Off Ver
    2010
    Posts
    6

    Worksheet change macro no longer working

    I have the following worksheet change macro in a rota I use,that will scroll to the month selected from a drop down box, it was working fine and all of a sudden today it stopped working, I have checked and its still referencing the correct cells. Also I have checked my macro security settings and there's no change there either. If anybody could help and let me know what could be causing this I would really appreciate it.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Worksheet change macro no longer working

    I thin you must have inserted this macro in the module.
    If yes then you are going wrong.

    You need to right click on the target sheet >> view code and paste the above macro there not in the module.
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Forum Contributor
    Join Date
    09-03-2015
    Location
    IE
    MS-Off Ver
    2003 - 2016
    Posts
    258

    Re: Worksheet change macro no longer working

    There is nothing wrong with the code, however "Stopped working" means nothing really. What is not happening? Does the code execute? Does it not find anything??

  4. #4
    Registered User
    Join Date
    12-10-2015
    Location
    Southampton, England
    MS-Off Ver
    2010
    Posts
    6

    Re: Worksheet change macro no longer working

    Sorry I wasn't clear, I get no error messages, just when I use the drop down box to select a month it no longer scrolls to the matching month in column B. I have inserted this into the target sheet and not into a module. It was working fine yesterday but today I no longer does anything and I have made no changes to the macro. The only change I have made to the workbook is a Workbook Open Macro that scrolls to todays date found in column A when the workbook is opened. I don't think that would cause the problem and I have tried removing it just in case and there was no change.

  5. #5
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Worksheet change macro no longer working

    It is working fine for us.
    Can you attach a sample file?
    You can do so by clicking on Go Advanced button at the bottom of the post and then selecting the paper clip icon .

  6. #6
    Registered User
    Join Date
    12-10-2015
    Location
    Southampton, England
    MS-Off Ver
    2010
    Posts
    6

    Re: Worksheet change macro no longer working

    Here is a basic example.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    09-03-2015
    Location
    IE
    MS-Off Ver
    2003 - 2016
    Posts
    258

    Re: Worksheet change macro no longer working

    Works just fine...

  8. #8
    Registered User
    Join Date
    12-10-2015
    Location
    Southampton, England
    MS-Off Ver
    2010
    Posts
    6

    Re: Worksheet change macro no longer working

    Hmmm... I'll play around with my settings and see if I can find anything there. Thanks for trying though

  9. #9
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Worksheet change macro no longer working

    Hey, I don't know for sure whats happening but you can give a try to this-

    Put this macro in any module and run it by pressing F5 -

    Please Login or Register  to view this content.
    Then try again and see if the worksheet change event works on selecting months from dropdown.

+ 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. Query on VBA macro no longer working
    By stephen.m.brown in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-25-2013, 12:12 PM
  2. [SOLVED] Macro no longer working?
    By Margate in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 02:26 PM
  3. [SOLVED] Code stopped working, can no longer copy and save a worksheet
    By Oracle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-30-2012, 07:56 PM
  4. Email Out of Excel Code no longer working due to update or drive change.
    By Kidcarlosuk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-12-2012, 06:37 AM
  5. Worksheet Change sub no longer working?
    By wgog in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-01-2011, 03:44 PM
  6. copying from one worksheet to another no longer working
    By -Brian-H- in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-27-2008, 12:21 PM
  7. Macro no longer working - Don Guillett
    By tanyhart in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-11-2006, 01:10 PM
  8. [SOLVED] Tab feature no longer working on worksheet
    By Joey041 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-04-2006, 02:55 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