提交回答
  • 至过去的我

    2044人对此回答表示赞同

    我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多>
    发布于
  • Sahil

    78人对此回答表示赞同


    把这行去掉 MsgBox "" & "Seconds left" & "- " & i

    或增加一个子程序
    Sub kaishi()

    For i = 9 To 0 Step -1
    wt = 1

    Do While wt > 0.1
    ra = Int(Rnd() * 10)
    Select Case ra
    Case 0
    Cells(1, 2).Select
    Case 1
    Cells(1, 1).Select
    Case 2
    Cells(2, 1).Select
    Case 3
    Cells(3, 1).Select
    Case 4
    Cells(3, 2).Select
    Case 5
    Cells(3, 3).Select
    Case 6
    Cells(3, 4).Select
    Case 7
    Cells(2, 4).Select
    Case 8
    Cells(1, 4).Select
    Case 9
    Cells(1, 3).Select

    End Select

    Application.Wait (Now + TimeValue("0:00:01") * wt)
    wt = wt * 0.8
    Loop

    c = 11 - i
    Cells(c, 7) = i

    myMsgbox "" & "Seconds left" & "- " & i, 1, "提示", 64

    Next
    End Sub

    Sub myMsgbox(myPrompt As String, Elapse As Integer, myTitle As String, Buttons As Integer) '自动关闭对话框
    CreateObject("Wscript.Shell").popup myPrompt, Elapse, myTitle, Buttons
    End Sub
    展开
    78
    0回复
    发布于 6年前

    评论(0)

    收起评论

  • Mia

    78人对此回答表示赞同

    没明白什么意思。。
    展开
    78
    0回复
    发布于 9年前

    评论(0)

    收起评论

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
咨询热线

13312967497

扫码添加业务即可随时咨询 还可领取小程序推广攻略

业务咨询: 13312967497
扫码咨询

扫码咨询套餐

回到顶部