+ Reply to Thread
Results 1 to 5 of 5

macro interrupted error 2029

  1. #1
    Registered User
    Join Date
    09-29-2010
    Location
    Mexico
    MS-Off Ver
    Excel 2003, 2007
    Posts
    6

    macro interrupted error 2029

    Hello

    I have a code that is interrupted in the middle of the process (marked in red) and I get a Runtime error !13!
    Tyme mismatch

    If I stop the code and then I run the macro again it runs without a problem and update value in cells afeter IF

    Any help on this will be appreciated


    Please Login or Register  to view this content.
    Last edited by Leith Ross; 04-28-2011 at 12:55 PM. Reason: Changed colored text to bold text

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: macro interrupted error 2029

    Hi,
    Perhaps you are getting an error because in

    Please Login or Register  to view this content.
    formver is a number because you did a ".Value" and then you check it against a String in the next line.

    Try changing the line
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Which line did it stop on? I don't see any red in your message.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: macro interrupted error 2029

    Hello Marvin and radame,

    FYI
    Using colored text inside a Code Pane does not work anymore. It used used to work until the site was upgraded. Unfortunately, despite numerous complaints the problem has never been corrected. However, Bold Text does work.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    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.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: macro interrupted error 2029

    Did you post the entire code for that Sub? Why three "End If's" and only one If?
    Ben Van Johnson

  5. #5
    Registered User
    Join Date
    09-29-2010
    Location
    Mexico
    MS-Off Ver
    Excel 2003, 2007
    Posts
    6

    Re: macro interrupted error 2029

    Hello

    MarvinP
    I tried with that option and it does not work, hopefully we found another solution, we decide not to perform that comparison and just work with new files (2011)

    Leith
    Thanks for the tip, I will consider it for the next time

    ProtonLeah
    You are right, the Sub is not complete, I just posted the part with the problem and related info of that portion.

    Thanks for the help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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