Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA freezes

Status
Not open for further replies.

numcrun

Programmer
Mar 7, 2003
8
NZ
When I update and exit from a cell, certain VBA code runs. Occasionally however, when I exit the cell the hourglass stays on the screen and the code appears to be looping infinitely. So I press Esc and a dialog box comes up asking if I want to continue or stop the code. The debug button is greyed out. So I stopped the code, and retried, stepping through it manually. It then works. Sigh. After these events, the text in the excel input box at the top of the screen (next to the =) flickers rapidly and continuously. This appears to be some flaw in Excel/VBA, I just wonder if it is, and is there a workaround? The KB has nothing I could see.
 
Can you post the code ??
Sounds like some kinda event driven loop - like using the change event to enter data without turning events off in code

Rgds
Geoff
"Some cause happiness wherever they go; others whenever they go."
-Oscar Wilde
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top