Jeffrey Mahoney
Well-known Member
- Joined
- May 31, 2015
- Messages
- 2,787
- Office Version
- 365
- Platform
- Windows
When I put code within the Brackets, the code looks fine until I submit. I look at the post and the first line within the subroutine ends up at the end of the subroutine line. Example Below. I know I can have an extra line between the SUB name and the first DIM statement, but I seem to forget quite often. Does this happen to anyone else. And Why???
Code:
Private Sub txtBatchcode_Change()If Inputfrm1.txtBatchcode <> "" Then
MsgBox "Please complete the " + Inputfrm1.txtExpDate + " field."
End If
End Sub