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

[µo°Ý] ¦p¦óÀˬd¤u§@ªí¤ºªºÀx¦s®æ¬O§_¦³#N/A

[µo°Ý] ¦p¦óÀˬd¤u§@ªí¤ºªºÀx¦s®æ¬O§_¦³#N/A

¦U¦ì¤j¤j¡A

   ¦]¤W¶Ç¸ê®Æ¨ì¨t²Î®É¡A­YÀx¦s®æ¤º¦³#N/A¡A¨t²Î´NµLªk¶i¦æ¹Bºâ¡C
   ©Ò¥H·Q¼g¤@­Ó¥i¥H¦b¤W¶Ç¸ê®Æ«e¡A¥ýÀˬd¤u§@ªí¤ºÀx¦s®æ¦³µL#N/A(¥ô¦ó¿ù»~ªº«¬ºA)ªº¥¨¶°¡C
   ¦¬´M«Ü¤[³£¨S¦³§ä¨ì¬ÛÃöªº¤å³¹¡A©Ò¥H¦b¦¹µo¤å¡A½Ð°ª¤â½ç±Ð¡C
   

¦^´_ 1# michael101772
½Ð°Ý±zªºÀx¦s®æµ²ªG¡u#N/A¡v¬O¥Ñ¨ç¼Æ¹Bºâ«áÀò±o¡H
­Y¥Ñ¨ç¼Æ¹BºâÀò±oªº¡A«Øij¥ÎIF²Õ¦X¨ä¥¦¨ç¼Æ­×¹¢#N/A¬°¡uªÅ®æ¡v§Y¥i¸Ñ¨M¡C
½Ð¤W¶Ç°Ñ¦ÒÀɮסA¤@°_¬ã¨s§a¡I

TOP

¦^´_ 1# michael101772
  1. Function HasErr() As Boolean
  2. On Error Resume Next
  3. HasErr = IsError(Cells.SpecialCells(xlCellTypeFormulas, 16))
  4. End Function
  5. Sub ´ú¸Õ¿ù»~()
  6. MsgBox HasErr
  7. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

·PÁ Hsieh¤j¤jªº¦^ÂÐ

¦Û¤v¹Á¸Õ§ï¼g¦¨¦p¤U¡G

Sub text()

On Error GoTo HandleErr
ok = IsError(Cells.SpecialCells(xlCellTypeFormulas, 16))
ok = Ture
MsgBox "¦³#N/A,½ÐCheck"

Exit Sub


HandleErr:
  MsgBox "Nothing Happen"
End Sub

TOP

¦^´_ 2# p212

P¤j¡A

§Ú¬O¨Ï¥Îvlookup¨ç¼Æ¥hv­È¡A§Ú´N¬O§Æ±æ¯à¦bv¤£¨ìªº®É­Ô²£¥Í#N/A¡A³o¼Ë§Ú¤~¯àµo²{¿ù»~¡C

TOP

Dear Hsieh¤j¤j¡A

¦A½Ð°Ý¦pªG·QÅýmsgbox¨q¥X¬O²Ä´X¦æ²Ä´X¦C¥X²{#N/A¡A³o¼Ë­n«ç»ò¼g¡H¥H§Ú«á¨Ó­×§ïªºµ{¦¡¨Ó¬Ý¡C

·P®¦

TOP

        ÀR«ä¦Û¦b : ¤â¤ß¦V¤U¬O§U¤H¡A¤â¤ß¦V¤W¬O¨D¤H¡F§U¤H§Ö¼Ö¡A¨D¤Hµh­W¡C
ªð¦^¦Cªí ¤W¤@¥DÃD