문제

I'm trying to debug code using "Step into", but first part of my code requires another workbook to be opened by TextBox. So "Step Into" just stops when TextBox appears (I mean that there is no opportunity to choose file via button or fill by keyboard).
Is there another way to debug code step-by-step or way to avoid this stuff?
Thanks in advance!

도움이 되었습니까?

해결책

You can (temporarily) add code to cause a break

Debug.Assert <Some Condition that returns FALSE when you want to break>

eg

Debug.Assert False
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top