Hello.....
RE: Access 2003 / VBA Editor
Given the sample code:
Public Sub TestPayment()
Line 1: lngCalculated Amount = ('my large decimal calculation)
Line 2: strFileOut = gblCurrPath & gblNewFileOut
Line 3: MsgBox "Checking Amount" & vbCrLf & vbCrLf & _
"New Calculated Amount: " & Cstr(lngCalculated Amount)
& _
"located at " & strFileOut & _
, vbOKOnly + vbInformation, "Calculation Result"
Lines 4 & following: (populate a new recordset and proceed on...)
End Sub
I want to check these values and then make sure my msgbox is formatted
correctly and looks good for the user. In the VBA Editor, is there a
way I can simply step through all lines of this sub only...and
stop...then tweak my msgbox formatting and re-test this paragraph
again?
I'm not interested in stepping through any other portions of my app in
debug mode; just this paragraph only.
Thanks.