Option Explicit
Sub heart_disappears()
'Erik Van Geit
'050916 0152
Dim I As Integer
Dim delay As Double
Dim starttime As Double
ActiveSheet.Shapes.AddShape(msoShapeHeart, 136, 43, 156.75, 149.25).Name = "heart"
With ActiveSheet.Shapes("heart")
.Fill.ForeColor.SchemeColor = 2
For I = 1 To 100
.Fill.Transparency = I / 100
delay = 0.1
starttime = Timer
Do
DoEvents
Loop While Timer - starttime < delay
Next I
.Delete
End With
End Sub
O! forgot the UFO-linkThanks for your nice comments
here some stuff in same "style"
the UFO is rather good to use as a gag