+ Reply to Thread
Results 1 to 6 of 6

A Macro that sometimes stops working

Hybrid View

  1. #1
    Registered User
    Join Date
    08-17-2015
    Location
    Manila
    MS-Off Ver
    2013
    Posts
    10

    A Macro that sometimes stops working

    Hello,

    In this file, there are macro codes under "Create Proposal" sheet, from rows 15 to 25, if the file is opened for quite some time or after few uses, the macro then will stop working, when you change the Inverter Brand the Model should change based on the brand, but the problem is sometimes it will stop working, if you keep on changing the brand nothing happens under the model drop down.

    What we do is we close all applications opened, all excel window and reopen the file and it will work again, we wouldnt want to do this over and over again, Please help
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: A Macro that sometimes stops working

    Comment out or remove the lines On Error Resume Next. They would hide any code errors that may occur. Then if the code does error, report back the error number, description, and what line is highlighted when you click the Debug button on the error dialog.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    08-17-2015
    Location
    Manila
    MS-Off Ver
    2013
    Posts
    10

    Re: A Macro that sometimes stops working

    I have removed the line On Error Resume Next and the Application update false line...however I am getting the error below everytime I edit a macro.

    We found a problem with some content in "filename". Do you want us to try recover as much as we can? If you trust the source of this workbook click Yes

    Then the macro is all messed up. please help, some created this code and we are no longer able to contact that person

  4. #4
    Registered User
    Join Date
    08-17-2015
    Location
    Manila
    MS-Off Ver
    2013
    Posts
    10

    Re: A Macro that sometimes stops working

    Also, there are no debug error showing, it just stops working, the data validation drop down wont change

  5. #5
    Registered User
    Join Date
    08-17-2015
    Location
    Manila
    MS-Off Ver
    2013
    Posts
    10

    Re: A Macro that sometimes stops working

    Please help

  6. #6
    Registered User
    Join Date
    08-17-2015
    Location
    Manila
    MS-Off Ver
    2013
    Posts
    10

    Re: A Macro that sometimes stops working

    please help

+ 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. [SOLVED] Macro Stops Working After so Many Iterations
    By JoseK70 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-01-2016, 02:03 PM
  2. Macro stops working at 00:03H
    By mjcordeiro in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-19-2013, 03:13 PM
  3. [SOLVED] Macro stops working when I go to a different worksheet
    By gandrea in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-31-2012, 01:40 PM
  4. Macro stops working when re-opened
    By BarryDragon in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-30-2011, 09:01 AM
  5. Macro suddenly stops working
    By Ahoette01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-02-2010, 05:58 PM
  6. Macro stops working on row
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-23-2010, 04:39 AM
  7. Saving as stops macro working
    By Denzil in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-04-2008, 07:21 AM

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