473,385 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Code only executes when in break mode - VBA bug?

1
Hi, I'm having an unusual bug using VBA in excel.

Specifically, I'll include a line of code, but the line of code won't run when I play the macro. The unusual thing is that if I step through the code in break mode everything works fine and the code executes as expected.

Has anyone come across this before? it doesn't seem to happen too often, but I've had it happen in 2 seperate macros now. If it is a bug, does anyone know how to avoid it in the future (not sure what the trigger is).

Thanks.
Jun 12 '07 #1
1 1906
Killer42
8,435 Expert 8TB
Maybe the code was added during break mode, and had not been compiled?
Jun 13 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Phil Galey | last post by:
I'm developing in VB.NET 2002 on Windows 2000 SP4. When I'm running my application in the design environment, it generates an error at one point that says: "There is no source code available for...
2
by: Mal | last post by:
I think that I am having a problem with some code that doesn't stop running. When I enter a table I can't close it again - I recieve an error about "This action will reset in break mode".. ...
1
by: objectref | last post by:
Hi to all, i have an app that i allow a drag and drop operation of picture boxes on a panel. when i drop a picture box i do the following so my newly dropped picture box will be able to...
3
by: moondaddy | last post by:
I'm writing a shopping cart in vb.net and for the first time I'm working with session state on the server. I'm using it to maintain the user's shopping cart for the session. in the browser is a...
6
by: Mike Barrett | last post by:
I am using VS 2005, VB.Net. I need to connect to an FTP server and get a list of files. I plundered the following code from MSDN to accomplish this task. It was part of a class called clsFTP: ...
29
by: Ancient_Hacker | last post by:
A while back I had to recompile some old code, originally written by a really good programmer, but one prone to use every trick in the book, and then some. There was a statement, something like...
2
by: atlkhan | last post by:
Can someone please explain this php code. I would be grateful <?php // --------------- file tape2matlab2php.php // NOTE: if web-server and matlab server are NOT located on the same mashine...
17
by: radhikams | last post by:
Hi I want to create a drag drop tool box using javascript... Can anyone please guide me in this regard Thanks
2
by: alireza6485 | last post by:
Hi, I am getting "Unreachable code dected " for my cariable n.Can you please let me know how to fix the problem.Thanks Console.WriteLine(); Console.Write("Decoded word :"); for...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.