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

¨Ï¥Î TODAY() ¨ú±o¨t²Î¤é´Á µM«á©T©w¤£ÅÜ «ç¼Ò°µ©O

¨Ï¥Î TODAY() ¨ú±o¨t²Î¤é´Á µM«á©T©w¤£ÅÜ «ç¼Ò°µ©O

¥»©«³Ì«á¥Ñ mycmyc ©ó 2010-10-13 23:32 ½s¿è

¨Ï¥Î TODAY() ¨ú±o¨t²Î¤é´Á  µM«á©T©w¤£ÅÜ «ç¼Ò°µ©O
¤£µM ¤£ºÞ¨º¤Ñ¶ñ¼g¤é´Á  ¦hÅܤµ¤Ñ¤F

A4¼g  =IF(A4="",TEXT(TODAY(),A4))  Åܦ¨1900/1/0
«ç»ò¿ì  ½Ð±Ð  ÁÂÁÂ

¦p
cell a1 b1 ­ì¨Ó¬OªÅªº
a1 ¥[¤W¸ê®Æ«á b1 ·|¦Û°Ê¸õ¥X¤µ¤Ñ¤é´Á(today())
§Æ±æ«O¯d·í¤Ñ¤é´Á
¤U¦¸¶}±Ò«áµL¶·¸õ¨ì·sªº·í¤é
HI

¥»©«³Ì«á¥Ñ luhpro ©ó 2010-10-13 23:55 ½s¿è

¦^´_ 1# mycmyc

¨ä¹ê¥»¦ê³o­Ó¨Ò¤lÀ³¸Ó¬O¥Î vba ¤ñ¸û®e©ö¹F¦¨¦Ó¨S¨ä¥L¤ò¯f,
­Y¥ÎÀx¦s®æ¤½¦¡À³¸Ó³£·|¥X²{ "´`Àô°Ñ·Ó" ªºÄµ§i°T®§.

¤£¹LÁÙ¬O¦³­Ó¤è¦¡¥i¥H°µ¨ì :
A4 = IF(C1=1,B1,B2)

B1 = NOW()
B2 = A4

C1 = 0

·í¤â°Ê±N C1 ³]¬° 1 ®É·|±N A4 Åܦ¨¤µ¤Ñªº¤é´Á, (¦pªG¨SÅܽФâ°Ê­«·s­pºâ)
§_«h(§Y C1 <> 1)´N«O«ù­È(¦s¦b B2¤W, (©Ò¥HÀ³¸Ó­n¥ýµ¹ªì­È, ¤]´N¬O C1=1 ³Ì¤Ö­n¥ý°µ¹L¤@¦¸)

¥»ªk¤¤­º¦¸¥X²{ "´`Àô°Ñ·Ó" ªºÄµ§i®É½Ðª½±µ«ö "¨ú®ø" «öÁ䲤¹L¤£Åܧó²{ªp,
¨ä«á¤â°Ê±N·í C1=1 §ïÅܦ¨ C1 <> 1 ®É¤S·|¦A¦¸¥X²{ "´`Àô°Ñ·Ó" ªºÄµ§i,
½Ðª½±µ«ö "½T©w" ©¿²¤¸Ó°T®§.

­Y»Ý­n­«³] A4 ¬°¤µ¤Ñ¤é´Á®É,
½Ð±N C1 ªº­È³]¦¨ 1 ,
µ¥ A4 ªº­ÈÅܰʦ¨¤µ¤Ñ¤é´Á«á¦A±N C1 ³]¦¨ <> 1 §Y¥i.

TOP

¦^´_ 2# luhpro
  ·PÁ¤j¤j«ü±Ð
§Ú¸Õ¤F  ÁÙ¬O¦³¨Ç°ÝÃD  ¤@§ï C1=1  ¥þÅܦ^¨Ó
§Ú·j´M ¦p¤j¤j»¡ªº¥ÎVBA ¤ñ¸û¦n
¯à½Ð¤j¤j ±Ð§ÚVBA¶Ü
  §ÚVBA ÁÙ¤£¤j¦æ
  ³Â·Ð§A ¸Ô²Ó»¡©ú¤@¤U  ÁÂÁ§A
HI

TOP

§O¥Î¤½¦¡¤F¡Actrl+; ¤£¦n¶Ü¡H

TOP

­è­è¸Õ¤F¤@¤U¡ã¯uªº°¨¤W¥X²{¤µ¤Ñªº¤é´Á­C¡I¥u¬OÁÙ±oµ¥¨ì©ú¤Ñ¦A¬Ý¬Ý¨º¤@®æªº¤é´Á·|ºû«ù¢°¢¯¡þ¢°¢³©Î¦Û°ÊÅܦ¨¢°¢¯¡þ¢°¢´Åo¡H

TOP

­è­è¸Õ¤F¤@¤U¡ã¯uªº°¨¤W¥X²{¤µ¤Ñªº¤é´Á­C¡I¥u¬OÁÙ±oµ¥¨ì©ú¤Ñ¦A¬Ý¬Ý¨º¤@®æªº¤é´Á·|ºû«ù¢°¢¯¡þ¢°¢³©Î¦Û°ÊÅܦ¨ ...
onegirl0204 µoªí©ó 2010-10-14 09:37



    «Ü¦³½ì¡I
­Y«ö­@¤£¦í®É¥i§ïÅܤ@¤U¨t²Î¤é´Á¡A«¢«¢¡C

TOP

¦^´_ 6# oobird


«e½úªGµM¤£¬O®ö±oµê¦Wªº ¡A¹³§Ú³oºØ·s¤â´N¬O¤£·|·Q¨ìÅܧó¨t²Î¤é´Á¡A¦Ó¿ï¾Ü¶Ì¶Ì¦aµ¥¤@¤Ñ¡A©¯¦n¤~µ¥¤@¤Ñ¦Ó¤w¡I

TOP

ÁÂÁ¤j®a ¨S¿ìªk¥u¦n¥Î  ¤â¤u¿é¤J¤F
HI

TOP

A1:99¦~10¤ë13¤é
¤½¦¡:=FIXED(YEAR(NOW())-1911,0,TRUE)&"¦~"&FIXED(MONTH(NOW()),0,TRUE)&"¤ë"&FIXED(DAY(NOW()),0,TRUE)&"¤é"

vba
Sub Macro1()
    Range("B1") = Range("A1")  
End Sub

A1:99¦~10¤ë13¤é(¬°¤½¦¡)
B1:99¦~10¤ë13¤é (¬°¤å¦r)§Y¬°·í®É§@·~¤é´Á
----------------------------------------------------------------------
²³æ»¡©ú¦p¤W...(´ú¸Õ«á没°ÝÃD)
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¥»©«³Ì«á¥Ñ ANGELA ©ó 2011-8-15 15:39 ½s¿è

=IF(A1="","",IF(B1="",TEXT(TODAY(),"YYYY/mm/dd"),B1))
»Ý±Ò¥Î¤ÏÂйBºâ.

TOP

        ÀR«ä¦Û¦b : ¦Y­W¤F­W¡B­WºÉ¤Ü¨Ó¡A¨ÉºÖ¤FºÖ¡BºÖºÉ´d¨Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD