VBA . , , . , , , , . .
"View", , VBA. (Project Explorer), (Properties Window), (Watch Window), (Immediate Window), (Locals Window).
: , , , , . .
( Insert) , , ( ). , .. . , M_math trycalc. : M_math.trycalc.
( ), "View code".
, (, General ) ( ). , . - , , , , , View Call Stack. . , , .
, , . . , , , , , .
(Watch). , . Add Watch. , . . , - , .
. , . . VBA. . , . , Watch . , print ?. , , , ( !) Enter.
|
|
, . Ctrl+J. , . , . , , . : ActiveDocument.Paragraphs.Add. Ctrl+J, a. ActiveDocument, .. para, , , , . , , , .
Debug. : Immediate.
Debug.Print " "
, , , :
If x>100 then Debug.Assert false