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

[µo°Ý] ¿é¥X¤é´Á

[µo°Ý] ¿é¥X¤é´Á

¦U¦ì¥ý¶i¡I
°ÝÃD½Ð±Ð¡G
¤wª¾¶g¦¸¤Î¬P´Á¡A¿é¥X¤é´Á¡H

B1.rar (2.05 KB)


«D±`·PÁ«ü¾É:)
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

¦^´_ 12# Hsieh


    ¤j¤j³o­Ó¨ç¼Æªº¼gªk~ ¹ï§Ú¤u§@¤WÆZ¦³¥Î³Bªº~
    ¯uªº«Ü¼F®`~
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

Hsieh ª©¥D
«D±`·PÁ±z
¨ç¼Æ¤è¦¡¤ÎVBAµ{¦¡½X ³£¥i¥H°õ¦æ
ÁÂÁÂ
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 9# b9208
­Y¥Î201103ªí¥Ü2011¦~²Ä¤T©P³o¼Ë¥i¦æ
¨ç¼Æ¤è¦¡½Ð°Ñ¦Ò
A4=DATE(LEFT($A$2,4),1,1)-WEEKDAY(DATE(LEFT($A$2,4),1,1),2)+(RIGHT($A$2,2)-1)*7+MATCH(LOWER(B4),{"mon","tue","wed","thu","fri","sat","sun"},0)
¦V¤U½Æ»s
VBA½Ð°Ñ¦Ò
  1. Sub nn()
  2. Set d = CreateObject("Scripting.Dictionary")
  3. k = DateSerial(Left([A2], 4), 1, 1) - Weekday(DateSerial(Left([A2], 4), 1, 1), 2) + (Right([A2], 2) - 1) * 7
  4. For i = 1 To 7
  5. x = UCase(Format(k + i, "ddd"))
  6. d(x) = k + i
  7. Next
  8. For Each c In Range([B4], [B4].End(xlDown))
  9. c.Offset(, -1) = d(UCase(c))
  10. Next
  11. End Sub   
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

«D±`·PÁÂ¥ý¶i­Ìªº«ü¾É
VBAµ{¦¡¥i¥H¨Ï¥Î
±µ¤U¨Ó¬ã¨s¾Ç²ßµ{¦¡ªº¤º®e
¦A¤@¦¸·PÁÂ
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

  1. Sub XX()
  2. Set d = CreateObject("Scripting.Dictionary")
  3. a = [FLOOR(MID($A$2,3,2)*7+DATE(2000+LEFT($A$2,2),1,1),7)-12]
  4. For i = 0 To 6
  5. d(Format(a + i, "ddd")) = Format(a + i, "yyyy/m/d")
  6. Next
  7. For Each c In Range([b4], [b65536].End(3))
  8. c(1, 0) = d(Application.Proper(c.Value))
  9. Next
  10. End Sub
½Æ»s¥N½X
B1.rar (7.6 KB)

TOP

Dear Eddy,
½Ð°Ý¡ª8-WeekToNum¡ª¬O¤°»ò·N¸q¡H¬°¤°»ò¥Î8´î¡H
WeekToNum¬O¤°»ò·N¸q¡H

Dear Hsieh & hugh
«D±`·PÁ«ü¾É¡A½T¹ê¨S¦³©w¸q凖«h¡C
¶g¦¸©w¸q±q¬P´Á¤@¶}©l
2011/1/1 ©w¸q¬°²Ä¤@¶g¡]¤£ºÞ1/1¬O¬P´Á´X¡^
201101¥Nªí2011¦~²Ä¤@¶g
¥H¤W³]©w¬O§_²Å¦X¸ê®Æ³W®æ

ÁÂÁÂ
100 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

Hsieh ¤j¤j~ »¡ªº¬O¯u²z~

¦]¬°¤@¦~52.142.....¶g~
¨C­Ó¤H¨Ï¥Î­pºâªº²Ä¤@¶gªº¤è¦¡·|¤£¤@¼Ë~   (¨C­Ó¤H§PŪ²Ä¤@¶gªº¤è¦¡¤£¤@¼Ë)
¦p 1/1¬O¦b¬P´Á¤@ ´N²³æ¦h¤F~ ´N¬O·í¦~ªº²Ä¤@¶g
   ­Y 1/1¬O¦b¬P´Á¤» ,«h¦³¨Ç·|±q1/3¬P´Á¤@ ·í¦¨·í¦~ªº²Ä¤@¶g~

³oºØ²Ó¸`´N»Ý­n©w¸q²M·¡~  ·|¤ñ¸û¦n·¡²z~

¤§«eÀ°±Ð±Â»²¾É¤½¥q®É~ ¸ò¦P¾Ç¤]¦³¹J¨ì³o­Ó°ÝÃD~
´N½Ð¤½¥q©w¸q²M·¡­pºâ²Ä¤@¶gªº·Ç«h~ ´N·|«Ü¦n³B²z~  (¨º®É¦P¾Ç¥ÎDELPHI¼¶¼g)
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦^´_ 5# b9208

1103
­n§PŪ¬°2011¦~²Ä¤T¶g
½Ð°Ý1911¦~²Ä¤T¶g«ç¼Ëªí¥Ü?
EXCEL³Ì©Èªº´N¬O¤£¿í¦u¸ê®Æ³W®æ
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¼Ó¥D
¤£ª¾¹D¶Ã¼gªº¬O¤£¬O²Å¦X§Aªº»Ý¨D
B1.rar (5.81 KB)

TOP

        ÀR«ä¦Û¦b : «Î¼e¤£¦p¤ß¼e¡C
ªð¦^¦Cªí ¤W¤@¥DÃD