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

½Ð°Ý¦p¦ó²M°£¦r¦ê«e­±ªº"0"

½Ð°Ý¦p¦ó²M°£¦r¦ê«e­±ªº"0"

·Q²M°£¦r¦ê¤¤³Ì¥ª¤âÃ䪺0
0¦rªø«×¤£©w,¤Î¦r¦ê¤¤¶¡ªº0­n«O¯d

00012A13B  >> 12A13B
00A14014B >> A14014B

½Ð«ü±Ð

§Ú·Q¨ìªº¤èªk¬O¨Ï¥ÎVBA Function

°µªk¬O¥ý¦bVBA¼Ò²Õ¤¤·s¼W¤@­Ófunction(¦p¤U)
  1. Function DIn0(x As String) As String
  2. xindex = Len(x)
  3. Do
  4. If Left(x, 1) = 0 Then
  5. x = Right(x, xindex - 1)
  6. xindex = xindex - 1
  7. End If
  8. Loop Until Left(x, 1) <> "0"
  9. DIn0 = x
  10. End Function
½Æ»s¥N½X
±µµÛ¦bÀx¦s®ækeyin
=DIn0(A1)
´N¦æ¤F

§Ú°µ¦nªºÀɮצp¤U
https://onedrive.live.com/redir?resid=6CB845AED0C935E7%21175
°Ê©À¦¨¦]¿n¦]¦¨ªG by huijuang

TOP

±þÂû¥Î¤û¤M¤F¡A
EXCEL¥»¨­´N¦³³o­Ó¥\¯à
¿ï¨ú­n§ó§ïªº®æ¡÷¸ê®Æ¡÷¸ê®Æ­åªR¡÷¤À®æ²Å¸¹¡÷¤Ä¿ï¨ä¥¦¡A¥´¤J0¡÷¤Ä¿ï³sÄò¤À®æ²Å¸¹µø¬°³æ¤@³B²z¡÷¤U¤@¨B¡C§¹¦¨
robin

TOP

·PÁÂnewlink
¤§«e§Ú§¹¥þ¨S·Q¹L¨Ï¥Î¡u¸ê®Æ­åªR¡÷¤À®æ²Å¸¹¡v

¦]¬°¨Ï¥Îfunction¬O¦³¯ÊÂIªº
¥¦³Ì¤jªº¯ÊÂI´N¬O®e©ö³y¦¨excelÅܺC
©Ò¥H¥­±`§Ú¤]¬O¾¨¶q¤Ö¥Îfunction
°Ê©À¦¨¦]¿n¦]¦¨ªG by huijuang

TOP

¦^´_ 3# newlink

¨Ï¥Î¦¹ªk·|±N¤¤¶¡³¡¤Àªº0¤]§R°£¡A¨Ò1# ¼Ó¥DÁ|ªº¨Ò¤l¡G00A14014B¡Aµ²ªG¡GA1414B¡A·|¦³¦¹°ÝÃD²£¥Í

TOP

¦^´_ 1# enoch
°}¦C¤½¦¡
=MID(A1,MATCH(TRUE,MID(A1,ROW(INDIRECT("A1:A"&LEN(A1))),1)<>"0",0),LEN(A1))
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : «H¤ß¡B¼Ý¤O¡B«i®ð¤TªÌ¨ã³Æ¡A«h¤Ñ¤U¨S¦³°µ¤£¦¨ªº¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD