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

½Ð±Ð¤@­Ó¥Õ·ö°ÝÃD¨D¦h¶µ¦¡¨t¼Æ ¹Bºâ

¦^´_ 1# jysun1

½Ð°Ñ¦Ò
  1.    
  2. Sub ­pºâ(PT As Range)
  3.     Dim strMsg, a#, b#, c#
  4.     strMsg = Split(PT, " ")
  5.     a = Left(strMsg(2), Len(strMsg(2)) - 2)
  6.     b = Left(strMsg(4), Len(strMsg(4)) - 1)
  7.     If strMsg(3) = "-" Then b = -b
  8.     c = strMsg(6)
  9.     If strMsg(5) = "-" Then c = -c
  10.     'MsgBox a & Chr(10) & b & Chr(10) & c
  11.     PT.Offset(0, 1) = -b / (2 * a)
  12. End Sub
½Æ»s¥N½X
¦h¶µ¦¡.zip (15.07 KB)

TOP

        ÀR«ä¦Û¦b : ¦n¨Æ­n´£±o°_¡A¬O«D­n©ñ±o¤U¡A¦¨´N§O¤H§Y¬O¦¨´N¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD