- ©«¤l
- 559
- ¥DÃD
- 58
- ºëµØ
- 0
- ¿n¤À
- 626
- ÂI¦W
- 0
- §@·~¨t²Î
- win8
- ³nÅ骩¥»
- office2013
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2010-11-22
- ³Ì«áµn¿ý
- 2024-6-14
|
¦^´_ 4# e123chen
¼Ó¥D ¤Uz¬°¨Ì±znªºµ²ªG³]p~ ¶È¨Ñ°Ñ¦Ò~
³o¤£¬O¤@Ó¦nªº¤è¦¡(°w¹ï¥«»P°Ïµ²¦X¦hªº®ÉÔ®É,·|¼g«Ü±`)
½Ð±Nµ{¦¡½X¶K¨ì§A»Ýnªºsheet¤¤~
select ªº case ¨Ì±z»ÝnªºÖѾã~
Private Sub Worksheet_Change(ByVal ÅÜ¼Æ As Range)
If ÅܼÆ.Row = 1 And ÅܼÆ.Column = 3 And ÅÜ¼Æ <> "" And ÅܼÆ.Offset(1, 0) <> "" Then
A = ÅÜ¼Æ & ÅܼÆ.Offset(1, 0)
ElseIf ÅܼÆ.Row = 2 And ÅܼÆ.Column = 3 And ÅÜ¼Æ <> "" And ÅܼÆ.Offset(-1, 0) <> "" Then
A = ÅܼÆ.Offset(-1, 0) & ÅܼÆ
Else
Exit Sub
End If
Select Case A
Case "¥x«n¥«¤¤¦è°Ï"
UserForm1.Show
Case "¥x«n¥«ªF°Ï"
UserForm2.Show
Case "¥x«n¥««n°Ï"
UserForm3.Show
End Select
End Sub |
|