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

¦bvba¤º«D¼Æ¦r¼gªk¬O§_¦³±M¦³¦Wµü©Î¥N¸¹

¦bvba¤º«D¼Æ¦r¼gªk¬O§_¦³±M¦³¦Wµü©Î¥N¸¹

¦U¦ì°ª¤â¦n:
If ActiveSheet.Range("$BG$4").Cells = "¥ô¦ó¤å¦r" Then
    "¥ô¦ó¤å¦r"  «ü¥Î ¥ô¦ó A ©Î B ©Î, C, ----§¡¥i °õ¦æ ( °£¼Æ¦r¥~)
  ½Ð«ü±Ð ÁÂÁÂ

¦U¦ì°ª¤â¦n:

If ActiveSheet.Range("$BG$4").Cells = "¥ô¦ó¤å¦r" Then
     "¥ô¦ó¤å¦r"  «ü¥Î ¥ô¦ó A ©Î B ©Î, C, ----§¡¥i °õ¦æ ( °£¼Æ¦r¥~)
­Y§ï¦b¨ç¼Æ¤ºÀ³¦p¦ó©O
   ½Ð«ü±Ð ÁÂÁÂ

TOP

¦^´_ 2# GBKEE
GBKEE  ¦hÁ«ü¾É

TOP

¦^´_ 1# jim

¸Õ¸Õ¬Ý
  1. Option Explicit
  2. Sub Ex()
  3.     Dim Rng As Range
  4.     Set Rng = ActiveSheet.Range("BG4")
  5.     Rng = "¥ô¦ó¤å¦r"
  6.    ' Rng = 123456
  7.     If IsNumeric(Rng.Value) Then
  8.         MsgBox Rng.Address & "  " & Rng & " ¬O¼Æ¦r"
  9.     ElseIf TypeName(Rng.Value) = "String" Then
  10.         MsgBox Rng.Address & "  """ & Rng & """ ¬O¤å¦r"
  11.     End If
  12. End Sub
  13. Sub Ex1()
  14.     Dim Rng As Range
  15.     Set Rng = ActiveSheet.Range("BG4")
  16.    ' Rng = "¥ô¦ó¤å¦r"
  17.     Rng = 123456
  18.     If IsNumeric(Rng.Value) Then
  19.         MsgBox Rng.Address & "  " & Rng & " ¬O¼Æ¦r"
  20.     ElseIf IsNumeric(Rng.Value) = False Then
  21.         MsgBox Rng.Address & "  """ & Rng & """ ¬O¤å¦r"
  22.     End If
  23. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : «Ý¤H°h¤@¨B¡A·R¤H¼e¤@¤o¡A´N·|¬¡±o«Ü§Ö¼Ö¡C
ªð¦^¦Cªí ¤W¤@¥DÃD