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

[µo°Ý] ½Ð±Ð¦Û°Ê¶}±Ò¶}±Ò¬¡­¶Ã¯

[µo°Ý] ½Ð±Ð¦Û°Ê¶}±Ò¶}±Ò¬¡­¶Ã¯

¦U¦ì«e½ú±z¦n,

½Ð±Ð¤@¤U¦pªG¨t²Î©T©w®É¶¡·|²£¥X¶g´Á©Êªº²§±`³øªí,
¨äÀɮצWºÙ¬°W901~, W=WEEKLY,9=2019,01=2019¦~²Ä¤@¶g,¦]¦¹ÀɦW¨Ì§Ç¬°W901.W902.W903
¨º³o³¡¤À¦Û°Ê¶}±Ò¬¡­¶Ã¯ªº»yªk¥i¥H¦p¦ó¼¶¼g©O?©ÎªÌ¹ï©óÀɮשR¦Wªº³¡¤À¥i¥H°µ«ç¼Ëªº­×¥¿·|§ó¦n¼¶¼g»yªk©O?

§Ú¦³ª¦¨ì¤@½g¤å³¹,¨ä»yªk¦p¤U~¦Ó³o½g¤å³¹¨ä¾l»P¤p§Ìªº»Ý¨D«Ü¬Ûªñ
®t§O¦b©ó³o½g¤å³¹¬O¨C¤éªº²£¥X³øªí,ÁٽЦU¦ì«e½ú«ü¾É~
¸U¤À·P¿E

Dim sStr$, sPath$
sPath = "D:\"   ' ½Ð³]¬°¹ê»Ú¬d®Ö¸ê®Æ¬ÛÃöÀɮשҦbªº¥Ø¿ý
sStr = "¬d®Ö¸ê®Æ" & Right("0" & Month(Date), 2) & Right("0" & Day(Date), 2) & ".xls"
Workbooks.Open sPath & sStr

¥»©«³Ì«á¥Ñ luhpro ©ó 2019-1-23 23:26 ½s¿è
¦U¦ì«e½ú±z¦n,

½Ð±Ð¤@¤U¦pªG¨t²Î©T©w®É¶¡·|²£¥X¶g´Á©Êªº²§±`³øªí,
¨äÀɮצWºÙ¬°W901~, W=WEEKLY,9=2019 ...
CIRCUS938 µoªí©ó 2019-1-23 20:21


  Dim sStr$, sPath$
  sPath = "D:\"   ' ½Ð³]¬°¹ê»Ú¬d®Ö¸ê®Æ¬ÛÃöÀɮשҦbªº¥Ø¿ý
  
  ' ¤µ¤Ñ²Ä´X©P :   ½d¨Ò¤é´Á - 2019/1/23 -> ²Ä 4 ¶g, sStr= "04"
  sStr = Right("0" & Int((Weekday(Left(Date, InStrRev(Date, "/")) & "1", 2) - 2 + Day(Date)) / 7) + 1, 2)
  
  ' ¤µ¤Ñ²£¥Xªº²§±`©Ê³øªíÀɦW :  W904.xls
  sStr = "W" & Right(Year(Date), 1) & sStr & ".xls"
  
  Workbooks.Open sPath & sStr

-----------------------------------------------------
¦ý¦pªG§A¥u¬O³æ¯Â¶}±Ò·í¤ë¨C¶gªº 4 ~ 5 ­ÓÀÉ®×:
  Dim i%, sPath$
  
  sPath = "D:\"   ' ½Ð³]¬°¹ê»Ú¬d®Ö¸ê®Æ¬ÛÃöÀɮשҦbªº¥Ø¿ý
  On Error Resume Next
  For i = 1 To 5
    Workbooks.Open sPath & "W" & Right(Year(Date), 1) & "0" & i & ".xls"
  Next

TOP

·PÁ«e½úªº«ü¾É¡ã«D±`ÁÂÁ±z

TOP

        ÀR«ä¦Û¦b : ¨ü¤HÂI¤ô¤§®¦¡A¶··í´é¬u¥H³ø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD