Log in

View Full Version : Solved: F8 wont step through code



majaro
01-14-2008, 02:13 PM
Has anyone ever had this happen in the VBE window? I place my cursor in the sub and press F8 to step through the code but nothing happens. The cursor just sits there. :dunno

asingh
01-14-2008, 06:04 PM
Hi,

Are you trying to step through a procedure..which takes parameters..it will not work..it should be a independent procedure/sub..then the debugging will start...

majaro
01-14-2008, 08:57 PM
Its a Delete Sub that works off a button.

Carl A
01-15-2008, 07:56 AM
One way would be to insert a break point on the first line of code and this will force the program to halt execution then you can F8 through the rest of the routine.