- ©«¤l
- 13
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 16
- ÂI¦W
- 0
- §@·~¨t²Î
- window7
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2014-2-17
- ³Ì«áµn¿ý
- 2014-2-20
|
¦^´_ 7# Kubi - Dim Msg, Style, Title, Help, Ctxt, Response, MyString
- Msg = "Do you want to continue ?" ' ©w¸q°T®§¡C
- Style = vbYesNo + vbCritical + vbDefaultButton2 ' ©w¸q«ö¶s¡C
- Title = "MsgBox Demonstration" ' ©w¸q¼ÐÃD¡C
- Help = "DEMO.HLP" ' ©w¸q»¡©úÀÉ¡C
- Ctxt = 1000 ' ©w¸q¤º®e¥N½X¡C
- ' Åã¥Ü°T®§¡C
- Response = MsgBox(Msg, Style, Title, Help, Ctxt)
- If Response = vbYes Then ' Y¨Ï¥ÎªÌ«ö¤U [¬O]¡C
- MyString = "Yes" ' ²£¥Í¬Û¹ï¦^À³¡C
- Else ' Y¨Ï¥ÎªÌ«ö¤U [§_]¡C
- MyString = "No" ' ²£¥Í¬Û¹ï¦^À³¡C
- End If
½Æ»s¥N½X ³o¬O§Úªºµ{§Ç¥N½X,¦p¦óקïmsgbox¬O§Aªºµ{§Ç,¨Ã¥[¤Wyes´N¹B¦æ,no´N¤£§@°Ê§@ |
|