Macro dbug

L

Leo Kline

I have written a macro and want to debug it step by step. I am familiar with
"stepping into" the macro but forget how to move thru it step by step.
 
P

Peter Hewett

Hi Leo Kline

The IDE has a Debug menu option have you checked that out? It supports:

Step Into (F8)
Step Over (Shift+F8)
Step Out (Ctrl+Shift+F8)
Run To Cursor (Ctrl+F8)

HTH + Cheers - Peter
 
L

Leo Kline

Thanks! I thought that F8 was the correct key to use to step thru the code
but it injected a one line routine that I did not recognize. It was
;;Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
End Sub
so I thought I had selected the wrong key.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top