ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¡q0 ¬O¤°¤\·N

[µo°Ý] ¡q0 ¬O¤°¤\·N

§Ú见¨ì¤@¥y:
if [a1] like¡q0 then msgbox "a1¬OªÅ­È"
结ªG¬O对ªº,¦ý  ¡q0    ¬O¤°¤\©O?  请«ü±Ð
lmh

§Ú见¨ì¤@¥y:
if [a1] like¡q0 then msgbox "a1¬OªÅ­È"
结ªG¬O对ªº,¦ý  ¡q0    ¬O¤°¤\©O ...
mhl9mhl9 µoªí©ó 2016-5-16 01:17

§Úªº°T®§¬O (Excel 2010)¡G
    ½sĶ¿ù»~¡G
    »yªk¿ù»~

TOP

¥»©«³Ì«á¥Ñ mhl9mhl9 ©ó 2016-5-18 00:36 ½s¿è

¦^´_ 2# c_c_lai


    §A觉±o¬O错误?¦ý写¦bµ{¦¡¨½执¦æ±o¦n¦nªº.¦ý§Ú§ä¤£¨ì¨º个²Å号¦b­þ¤I,¥u¯àcopy写¨ºµ{¦¡
¦Ó¥B§Ú觉±o写¨ºµ{¦¡ªºªB¤Í¥iºâ¬Oexcelªº专®a,¥i¥H«H赖ªº.
if [a1] like ¡q0 then
msgbox "a1¬OªÅ­È
else
msgbox "a1¤£¬OªÅ­È
endif
§Ú¥Îªº¬Ooffice2007
lmh

TOP

¦^´_ 3# mhl9mhl9
¡y¡q0 ¡z²Å¸¹¤º¥i¯àÁôÂäF¤°»ò±±¨î½X¦b¤º¡A
¤@¯ë¬OµLªk¥Î Copy ª½±µ½Æ»s¥X¨Óªº¡C
°£«D¬O§A±NÀÉ®×­ì«Ê¤£°Ê¤W¶Ç¤W¨Ó¡A
©ÎªÌ¬O§A¦Û¤v¥Î F8 ¥h Debug Æ[¹î¤@¤U¡C
Ä´¦p§A±q¥~³¡¶×»s¤å¦rÀɶi¨Ó¡A¦³ªº¤å¦rÀÉ
¸Ì·|¦s¦b¤@¨Ç§C©ó ASCII 32 ¥H¤U¤§±±¨î¤¸
¤@¼Ë¡C

TOP

If [a1] Like £¢0 Then MsgBox "a1¬OªÅ­È"

ª`­µ²Å¸¹ £¢OK
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¥»©«³Ì«á¥Ñ stillfish00 ©ó 2016-5-23 10:43 ½s¿è

¦^´_ 5# ML089
³oÀ³¸Ó¬O VBA§â £¢0 ·í¦¨¤@­ÓÅܼơA¦]¬°¥¼«Å§i¡A¦Û°Ê·í¦¨¥þ°ìÅܼÆ
¤S Like «á­±°Ñ¼Æ¬°¦r¦ê«¬ºA¡A©Ò¥H§â "" ¶Çµ¹¥¦
µ¥¦P©ó
If [a1] Like "" Then MsgBox "a1¬OªÅ­È"


¨ä¹ê¥u¬O³Q¤@­Óªø±o¹³¤p©óªº¦r¤¸»~¾É¤F¡A
´«¥y¸Ü»¡¡A³o¸ò¨S«Å§iÅܼÆabc ®É¼g
If [a1] Like abc Then MsgBox "a1¬OªÅ­È"
¨S¬Æ»ò¨â¼Ë
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

        ÀR«ä¦Û¦b : ¥ÌÄ@°µ¡BÅw³ß¨ü¡C
ªð¦^¦Cªí ¤W¤@¥DÃD