F
Frank Situmorang
Hello,
Can any body help me how to make this 3 conditional welcoming words can work
true. This is VBA I learned from Database Dev UK.ID :
Private Sub Form_Timer()
Dim strMsg As String
Static I As Integer
I = I + 1
strMsg = "Selamat Pagi "
If I > Len(strMsg) Then I = 1
lblMorning.Caption = lblMorning.Caption & Mid(strMsg, I, 1)
End Sub
While this is the VBA to make a scrolling words:
Private Sub Form_Timer()
Dim strMsg As String
Static I As Integer
I = I + 1
strMsg = "Some message here "
If I > Len(strMsg) Then I = 1
LabelName.Caption = LabelName.Caption & Mid(strMsg, I, 1)
End Sub
MY QUESTION IS HOW CAN WE COMBINE THESE 2 VBA TO MAKE IT WORKS IN THE ABOVE
3 CONDITIONAL WORDS.
Thanks in advance,
Can any body help me how to make this 3 conditional welcoming words can work
true. This is VBA I learned from Database Dev UK.ID :
Private Sub Form_Timer()
Dim strMsg As String
Static I As Integer
I = I + 1
strMsg = "Selamat Pagi "
If I > Len(strMsg) Then I = 1
lblMorning.Caption = lblMorning.Caption & Mid(strMsg, I, 1)
End Sub
While this is the VBA to make a scrolling words:
Private Sub Form_Timer()
Dim strMsg As String
Static I As Integer
I = I + 1
strMsg = "Some message here "
If I > Len(strMsg) Then I = 1
LabelName.Caption = LabelName.Caption & Mid(strMsg, I, 1)
End Sub
MY QUESTION IS HOW CAN WE COMBINE THESE 2 VBA TO MAKE IT WORKS IN THE ABOVE
3 CONDITIONAL WORDS.
Thanks in advance,