- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¦^´_ 1# tw123456789
1. on error goto next ¨º«ü¥O¥un¦³©ñ¤@Ó´N¥i¥H¤F,¤£¥Î³sÄò©ñ¨âÓ.
2. ¦]¨S¹ê¨Ò, §Ú²q´ú§ï¦¨©³¤U³o¼Ë¦³¥i¯à¥i¥H¸Ñ¨M§Aªº°ÝÃD
On Error Resume Next
Target.Offset(0, 1).Locked = False ' ·h¨ì³o¸Ì - nÅܧóÀx¦s®æ®æ¦¡©Î¤º®e«e¥ý¸ÑÂê
If value_1 = "ABC" Or value_1 = "" Then
Target.Offset(0, 1).Interior.ColorIndex = xlNone
Else
Target.Offset(0, 1) = ""
3. ¦pªG¤Wz¤è¦¡µL®Ä.
¦]¬°¨S¦³´£¨Ñ¹ê»Úªºµ{¦¡¥i¥H°lÂÜ,
©Ò¥H§Ú¶È¯à²q´ú°ÝÃDµo¥Íªº¥i¯àì¦] :
µ{¦¡·|·í±¼ªºì¦]¨Ì§Úªº¸gÅçÀ³¸Ó¬O°õ¦æ¹Lµ{¤¤¥X²{ "µL°j°é" ªº±¡§Î³y¦¨ªº.
§A¥i¥H¬G·N¦AÅý¥¦µo¥Í¦¹±¡§Î,
µM«á«ö¤U Ctrl+Break µ{§Ç·|°±¦b¬Y¤@¦æ«ü¥O¤W,
±µµÛ«ö¤U F8 ³æ¨B°õ¦æ¥HÆ[¹îµ{§Ç¨ì©³°j°é¬Oµo¥Í¦bþ¨Ç«ü¥O¤W,
³o¼Ë·|¸û®e©ö§ä¨ì°ÝÃDÂI. |
|