- ©«¤l
- 20
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 63
- ÂI¦W
- 0
- §@·~¨t²Î
- WINXP
- ³nÅ骩¥»
- OFFICE 2007
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2014-11-21
- ³Ì«áµn¿ý
- 2023-2-9
|
§Ú¸ÕµÛ¼g¥X¥H¤U¥¨¶°,µ²ªG¬O¦¨¥\ªº,¦]§ÚÁÙÄݦ۾Ǫºªì¤ßªÌ
¬G¦³¥H¤U»Ý½Ð±Ð¦U¦ì«e½å,½Ð¤£§[«ü±Ð,ÁÂÁÂ.
(1)¬O§_¦³§ó¦nªº¼gªk?
(2)¦pªGB3~B14Äæ¦ìì«O«ùªÅ¥Õ,n¼g¦¨·í¤@key¤J¥N½X®É,¥i¦Û°ÊÅÜ´«¹ïÀ³Äæ¦ìÅã¥Ü"1",¸Ó¦p¦ó¹B¥Îworksheet_change»yªk¥[¤J¦¹¬q¥¨¶°
n¥H¦p¦¹¼gªkªº¥Î·N¬O:´N¤£¥Î¦AÃB¥~¦³°õ¦æ¥¨¶°ªº°Ê§@¤F
Book2.rar (12.73 KB)
Option Explicit
Sub TESTsearch()
Dim i As Integer
For i = 3 To 14
Select Case Cells(i, 2)
Case "A"
Cells(i, 3) = 1
Case "B"
Cells(i, 4) = 1
Case "C"
Cells(i, 5) = 1
Case "D1"
Cells(i, 6) = 1
Case "D2"
Cells(i, 7) = 1
Case "D3"
Cells(i, 8) = 1
Case "D4"
Cells(i, 9) = 1
Case "D5"
Cells(i, 10) = 1
Case "D6"
Cells(i, 11) = 1
Case "D7"
Cells(i, 12) = 1
Case "D8"
Cells(i, 13) = 1
Case "D9"
Cells(i, 14) = 1
Case "D10"
Cells(i, 15) = 1
End Select
Next i
End Sub |
|