飞机起飞

来源:百度文库 编辑:神马文学网 时间:2024/04/25 12:56:57

 
vba 代码:
Sub 飞机起飞()
Dim 时间 As Long
For j = 1 To 100
For i = 1 To 400
ActiveSheet.Shapes("Picture 3").IncrementLeft -1
时间 = Timer + 0.09
Do
DoEvents
Loop Until Timer > 时间
Next
ActiveSheet.Shapes("Picture 3").Flip msoFlipHorizontal
For k = 1 To 400
ActiveSheet.Shapes("Picture 3").IncrementLeft 1
时间 = Timer + 0.09
Do
DoEvents
Loop Until Timer > 时间
Next
ActiveSheet.Shapes("Picture 3").Flip msoFlipHorizontal
Next
End Sub
 
源文件下载:
http://u.xunzai.com/fileview_168312.html