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

µLªk¥Îformat Åã¥Ü5 ­Ó¦r¤¸

µLªk¥Îformat Åã¥Ü5 ­Ó¦r¤¸

§Æ±æ¥Îvba ÅýA2 Àx¦s®æ¯àÅã¥Ü5 ­Ó¦r¤¸
¥i¬O«o¨S¿ìªk°µ¨ì¡A¤£ª¾¹D¬O¤°»ò°ÝÃD?!
(§Ú¬O¥Îoffice 2003)
office2003.rar (5.43 KB)

¦^´_ 4# ikboy


    ¤F¸Ñ¤F ·P®¦

TOP

¥ý­n©ú¥Õ Range("a2").Value = ¬O¬Æ»ò.
Format ¬O¤@µøı, Value ¬O­È

TOP

¦^´_ 2# ikboy

¥i¥H¤F³á¡A·PÁ±z¡C

¤j¤j½Ð°Ý
¬°¤°»ò³oºØ¼gªk Range("a2").Value = Format(Range("a1").Value, "00000") ¨S¿ìªkÅã¥X5¦ì¼Æ©O?
«Ü¦n©_?

TOP

¦^´_ 1# Jerrywu101
  1. Sub test()

  2. '§Æ±æa2Àx¦s®æ¯àÅã¥Ü¥X5­Ó¦ì¼Æ
  3. [A2] = [A1]
  4. Range("a2").NumberFormat = "00000"
  5. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¦a¤WºØ¤Fµæ¡A´N¤£©öªø¯ó¡F¤ß¤¤¦³µ½¡A´N¤£©ö¥Í´c¡C
ªð¦^¦Cªí ¤W¤@¥DÃD