This is a macro I found on this board.
The text goes from the left to the right.
How can I change this macro,so that the text goes from the right to the left?
Dim myText As String
Dim x As Integer, y As Integer
Dim myStart, myDelay
myText = " ........."
On Error GoTo myEnd
For y = 1 To 10
For x = 1 To 125
myStart = Timer
myDelay = myStart + 0.1
Do While Timer < myDelay
[N4] = Space(x) & myText
DoEvents
Loop
DoEvents
myStart = Timer
myDelay = myStart + 0.1
Next x
Next y
[N4] = ".................. "
myEnd:
End
An idea?Thanks
--------------------------------------------------------------------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.Interior.ColorIndex = xlNone
Target.Interior.ColorIndex = 3
End Sub
y idea?
The text goes from the left to the right.
How can I change this macro,so that the text goes from the right to the left?
Dim myText As String
Dim x As Integer, y As Integer
Dim myStart, myDelay
myText = " ........."
On Error GoTo myEnd
For y = 1 To 10
For x = 1 To 125
myStart = Timer
myDelay = myStart + 0.1
Do While Timer < myDelay
[N4] = Space(x) & myText
DoEvents
Loop
DoEvents
myStart = Timer
myDelay = myStart + 0.1
Next x
Next y
[N4] = ".................. "
myEnd:
End
An idea?Thanks
--------------------------------------------------------------------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.Interior.ColorIndex = xlNone
Target.Interior.ColorIndex = 3
End Sub
y idea?