ªð¦^¦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 : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD