ªð¦^¦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)

¦^´_ 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

¦^´_ 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

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

TOP

¦^´_ 4# ikboy


    ¤F¸Ñ¤F ·P®¦

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