5. Procedure
Sub Procedure
This's the result after you had run the macros below. |
Sub Mysubroutie()
Dim i As Integer
While i < 10
i = i + 1
Range("D" & i).Select
ActiveCell.Value = "Column" & i
Wend
Call Msgme("Total Count is " & i)
End Sub
Sub Msgme(ByVal str As String)
MsgBox (str)
End Sub
Comments
Post a Comment