×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Bug in VBA Editor Stepping through code??

Bug in VBA Editor Stepping through code??

Bug in VBA Editor Stepping through code??

(OP)
G'day learned friends,
Has anyone else encountered the following apparent bug while stepping through code in the VBA editor:
Specifically using Excel 2000, I often step though code line by line (using the F8 key) to check what is happening in Excel is exactly as I want. On occasion while stepping through code the VBA editor will suddenly "jump" to another module in the same workbook and, starting from the top of the page, step through each line in the new module. The weird thing is it does not appear to be executing any of the code, in fact, it is still executing the code from the original module, it just appears to be displaying the wrong module in the VBA editor. There is definitely no call to another function or sub-procedure in the original module, it just appears to jump to it on it's own accord. If there are several sub's on the module it jumps to it steps through each one from top of page to bottom with no apparent execution of any of the code. Has anyone else come across this bug? Any ideas what is causing it?

Thanks
MJT

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources