- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 5# myleoyes - Option Explicit
- Sub Msg()
- Dim WshShell As Object, BtnCode As String, A As String, B As String, i As Integer, ii As Integer
- 'Åܼƪº³]©w³Ì¦n¸m©óµ{¦¡½Xªº«eºÝ¥H«Kµ{¦¡ªº°»¿ù
- Set WshShell = CreateObject("WScript.Shell")
- A = Sheet2.[D1].FormulaR1C1
- B = Sheet2.[E1].FormulaR1C1 '=-33+20+5+543+22-60+300-99-96-33+20+5
- For i = 3 To Len(A) '¤½¦¡ªº¶}ÀY·|¬O =- ©Ò¥H i ±q 3 ¶}©l
- If Not Mid(A, i, 1) Like "[0-9]" Then ii = ii + 1 '¤£¬O¼Æ¦r¥[ 1
- If ii = 2 Then A = Mid(A, 2, i - 2): Exit For
- Next
- ii = 0 'Âk¹s
- For i = 3 To Len(B)
- If Not Mid(B, i, 1) Like "[0-9]" Then ii = ii + 1
- If ii = 2 Then B = Mid(B, 2, i - 2): Exit For
- Next
- BtnCode = " ¦¹¦¸§@¦h·l¯q" & A & Chr(10) & " ¦¹¦¸§@ªÅ·l¯q" & B
- BtnCode = WshShell.popup(BtnCode, 2, "·l¯q¹ï±b°T®§¡I¡I", 0)
- End Sub
½Æ»s¥N½X |
|