- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
¦^´_ 9# blue2263 - Sub ¿ïªÑ»P¦P²£·~()
- Dim ¥N½X§O As String, ²£·~§O As Range
-
- ¥N½X§O = InputBox("½Ð¿é¤J±z±ý¿z¿ï¤§ªÑ²¼¥N½X (Stock No.)" & vbCrLf & "(¨Ò¦p¡G1101¡B1203¡B1234¡B©Î 1439 µ¥) ", "°ò¥»¸ê®Æ") ' ¼u¥X¿é¤Jµøµ¡
- If ¥N½X§O = "" Then Exit Sub
-
- With Sheets("¹ï¤â¦P²£·~")
- .AutoFilterMode = False ' ¨ú®ø¦Û°Ê¿z¿ï (¦^´_ì©l¿z¿ï«e¤º®e)
- Set ²£·~§O = Sheets("¹ï¤â¦P²£·~").[B:B].Find(¥N½X§O, , , 1)
- If Not ²£·~§O Is Nothing Then
- .Range("A1").AutoFilter FIELD:=6, Criteria1:=²£·~§O.Offset(, 4).Value ' ¦Û°Ê¿z¿ï
- End If
- End With
-
- With Sheets("¿ïªÑ³øªí")
- .AutoFilterMode = False ' ¨ú®ø¦Û°Ê¿z¿ï (¦^´_ì©l¿z¿ï«e¤º®e)
- Set ²£·~§O = Sheets("¿ïªÑ³øªí").[A:A].Find(¥N½X§O, , , 1)
- If Not ²£·~§O Is Nothing Then
- .Range("A1").AutoFilter FIELD:=4, Criteria1:=²£·~§O.Offset(, 3).Value ' ¦Û°Ê¿z¿ï
- End If
- End With
- End Sub
½Æ»s¥N½X |
|