+ Reply to Thread
Results 1 to 4 of 4

Please Help to fix the VBA error

  1. #1
    Registered User
    Join Date
    03-22-2012
    Location
    Bangalore, IND
    MS-Off Ver
    EXCEL 2010, 2007
    Posts
    90

    Please Help to fix the VBA error

    Hi Everyone,

    I am struck with a error message while running a macro, I want to insert a code that will override this error msg popup and continue running a macro, Any help would be appreciated and advance tnx... here by I am attacthing error screen shot and code


    vba error.PNG

    Please Login or Register  to view this content.
    Last edited by vpnvipin; 04-16-2012 at 09:07 AM. Reason: moderator request

  2. #2
    Forum Contributor
    Join Date
    02-07-2012
    Location
    MIA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    429

    Re: Help with error

    Please change the thread title to comply with the forum rules:

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    .?*??)
    `?.???.?*??)?.?*?)
    (?.?? (?.?
    Pichingualas <---
    ??????????????????????????

    Wrap your code with CODE TAGS.
    Thank those who helped you, Don't forget to add to their REPUTATION!!! (click on the star below their post).
    Please mark your threads as [SOLVED] when they are (Thread Tools->Mark thread as Solved).

  3. #3
    Forum Contributor
    Join Date
    06-09-2011
    Location
    Germany
    MS-Off Ver
    Excel 2016
    Posts
    194

    Re: Please Help to fix the VBA error

    Hi,

    it seems that you have an issue often refered as "phantom break points". Sometimes excel does not clean up breakpoints which causes the macro to stop. You can manualy continue using F5 which is usually not the solution you want to ask your users to do. There are different solutions to the problem. Sometimes the "clear all breakpoints" in the debug menue of the VBE does the job. Sometimes pressing CTRL + Pause + Enter while no Macro is running fixes the issue. What always works is exporting your macros to a textfile and reimporting those text files back to VBE. There is a (free) tool at http://www.appspro.com/Utilities/CodeCleaner.htm which does this automaticaly if you click the button in VBE. I used to have many users complaining about the same issue in one of my tools. Using the code cleaner solved it immideatly

    Regards

    Theo
    Remember To Do the Following....
    1. Upload sample files
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.

  4. #4
    Registered User
    Join Date
    03-22-2012
    Location
    Bangalore, IND
    MS-Off Ver
    EXCEL 2010, 2007
    Posts
    90

    Re: Please Help to fix the VBA error

    Thnx a ton Fettertiger , I will check and let u knw...

+ 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