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

excel ¦r¦ê¦p¦ó¥h°£?

excel ¦r¦ê¦p¦ó¥h°£?

¦p¦ó±N "Mid load-70% duty ( 0.00-10.00 s)"¤¤ªº "( 0.00-10.00 s)" ¥h°£?
¥Ñ©ó( 0.00-10.00 s)¨Ã«D©T©w¡A¥L¥i¯à¬O( 0.00-16.78 s)©Ò¥HµLªkª½±µ¥Hreplace¥h°£
¸Ó¦p¦ó±N¦r¦ê«á¬A¸¹¤Î¬A¸¹¤ºªº¤å¦r¥h°£?

¦^´_ 1# acdx
¸Õ¸Õ¬Ý
  1. Option Explicit
  2. Sub Ex()
  3.     Dim S As String, S1 As Integer, S2 As Integer
  4.     S = "Mid load-70% duty( 0.00-10.00 s)A4444 "
  5.     S1 = InStr(S, "(")
  6.     S2 = InStr(S, ")")
  7.     S = Replace(S, Mid(S, S1, S2 - S1 + 1), "")
  8.     MsgBox S
  9. End Sub
½Æ»s¥N½X

TOP

¿ï¾Ü¸ê®Æ½d³ò
«öCTRL+H ¨ú¥N
´M§ä¥Ø¼Ð: (*
¨ú¥N¦¨: ¤£¿é¤J
«ö½T©w
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¤½¦¡¤è¦¡
¸ê®Æ¦bA1
B1¿é¤J¤½¦¡
=LEFT(A1,FIND("(",A1)-1)
¤U©Ô½Æ»s¤½¦¡
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

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