The code below works just fine but I need to understand how to manually follow the code and determine the answer without running the code. I have trouble doing this. Can someone do a step by step walk through the code changing the value as you go along.
Also is there a method to reading code that I can apply to code in general. Sometimes I can do this but most of the time I can't. I feel that there has to be some way of writing this down on paper as you move through the code.
What gets me is that "strWord1 = "One" ends up being " LCase(var3) " shouldn't it be " LCase(var1) " ??
If you use the Access file use the " Letters " button.
Private Sub cmdLetters_Click()
Dim strWord1 As String, strWord2 As String, strWord3 As String
strWord1 = "One"
strWord2 = "Two"
strWord3 = "Three"
Call MyProc(strWord1, strWord2, strWord3)
'ANSWER IS threeTWOone
Private Sub MyProc(var3 As String, var2 As String, var1 As String)
lblBox.Caption = LCase(var1) & UCase(var2) & LCase(var3)