ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   splash screen (https://www.excelbanter.com/excel-programming/322420-splash-screen.html)

animated text in excel worksheet

splash screen
 
is there a way to animate text in a cell in an excel worksheet?

Ben

splash screen
 
ok, a little more detailed, what exactly do you mean by animate?

"animated text in excel worksheet" wrote:

is there a way to animate text in a cell in an excel worksheet?


Todd huttenstine

splash screen
 
below is some sample code. I use this to animate
wordart. You may be able to apply this to some graphic
file.

Private Sub Worksheet_Activate()
On Error Resume Next

Set OldCell = ActiveCell
ActiveSheet.Shapes("WordArt 1").Select
m = 1
For i = 1 To 10
Selection.ShapeRange.TextEffect.Tracking = m
m = m + 0.25
DoEvents
Next i
For i = 10 To 1 Step -1
Selection.ShapeRange.TextEffect.Tracking = m
m = m - 0.25
DoEvents
Next i
Selection.ShapeRange.TextEffect.Tracking = 1

ActiveSheet.Shapes("WordArt 2").Select
For i = 1 To 8
Selection.ShapeRange.IncrementRotation 90
DoEvents
Next i
OldCell.Select
End Sub


-----Original Message-----
is there a way to animate text in a cell in an excel

worksheet?
.



All times are GMT +1. The time now is 10:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com