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

[µo°Ý] TEXT°ÝÃD½Ð±Ð

[µo°Ý] TEXT°ÝÃD½Ð±Ð

DEAR ALL ¤j¤j
1.©ó Sheet4.Range("U2")®Ñ¼g²[¼Æ
   =TEXT(Y2,"000-00-00") °õ¦æ²[¼ÆµL°ÝÃD
2.§ï¼g¬° VBA ¦p¤U µLªk°õ¦æ.
Sub BB()
  Sheet4.Range("U2") = Text(Sheet4.Range("Y2"), "000-00-00")
End Sub
3.¦p¦ó§ï²[¼Æ¬°VBA ·Ð¤£§[½ç±Ð  THANKS*10000
ù

DEAR  luckeyfly ¤j¤j & ikboy ¤j¤j
·PÁ«ü¾É   THANKS*10000
ù

TOP

  1. Sub BB()
  2.     Sheet4.Range("U2") = Format(Sheet4.Range("Y2"), "000-00-00")
  3. End Sub
½Æ»s¥N½X
¦p¼Æ¶q¦h, «Øij¥Î With °t¦X For Next
  1. Sub zz()
  2. With Sheet4
  3.     .[U2] = Format(.[Y2], "000-00-00")
  4. End With
  5. End Sub
½Æ»s¥N½X

TOP

1.Àx¦s®æ­n±a¤J¤½¦¡¡A­n¥ÎFormula¡A¤~¤£·|Åܦ¨¤å¦r®æ¦¡
2.ª`·N""­n¥Î2¦¸
3.Formula«á­±ªº¤½¦¡´N¬OÀx¦s®æ­n¶ñ¤Jªº¤½¦¡¡A¤£­n¥ÎVBA¼gªk

(§ÚªºEXCEL¤u§@ªí¦WºÙ¬O¤¤¤åªº¡A©Ò¥HVBA¥Î¤¤¤å¤ñ¸û¥¿±`)

Sub R()
¤u§@ªí4.Range("U2").Formula = "=Text(¤u§@ªí4!Y2, ""000-00-00"")"
End Sub

¡ãºµ¿ß¬É²Ä¤@¬ü¨k¤l¡ã

TOP

        ÀR«ä¦Û¦b : ¬O«D·í±Ð¨|¡AÆg¬ü§@ĵ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD