- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 15
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-12
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2015-6-5 23:52 ½s¿è
ActiveWorkbook.SaveAs Filename:="D:\¥Ø¿ý\" & Range("A2") & "-" & Format(Range("B2"), "yyyymmddhhss") ...
starry1314 µoªí©ó 2015-6-4 17:10
ActiveWorkbook.SaveAs Filename:="D:\¥Ø¿ý\" & Range("c2") & "\" & Range("A2") & "-" & Format(Range("B2"), "yyyymmddhhss") & ".xlsm"
¦r¦ê¦X¨Ö®ÉÀ³ª`·N¥H¤U´XÂI :
1. "(Âù¤Þ¸¹) ¥²¶·¦¨¹ï, ¥B¨âÓ " ¤¤¶¡¥]µÛ¦r¦ê¦Ó«DÅܼƩΫO¯d¦r.
2. ¬Û¾F¦r¦ê¶¡¥i¥Î & ¨Ó³s±µ¦¨¤@Ó¦r¦ê
©³¤U¬O§Ú±`¥Îªº¤@¨Ç¦r¦ê³B²z©Î´ú¸Õ§Þ¥©:
1. ¦pªG¦r¦ê¤Óªø¤£©ö§PÂ_µ²ªG¬O§_¥¿½T,
¥i¥H©ó½áÈ«á¨Ì¦¸ªþ¥[¦r¦êµ¹ÅܼƫK©ó°»¿ù,
¨Ò¦p¤W¦¡¥i¥H§ï¦¨ :- Dim sStr$
- sStr= "D:\¥Ø¿ý\" & Range("c2")
- sStr= sStr & "\" & Range("A2")
- sStr= sStr & "-" & Format(Range("B2"), "yyyymmddhhss") & ".xlsm"
- ActiveWorkbook.SaveAs Filename:= sStr
½Æ»s¥N½X 2. ¤]¥i¥H¥Î _(¤@Ó¥b§ÎªÅ¥Õ¤å¦r ³s±µµÛ ¤@Ó¥b§Î©³½u¤å¦r) ¨Ó©î¦æ(¦ý¤£¥i¥H§â¦r¦ê¤À©î¨â¦æ),¨Ò¦p즡§ï¦¨ :- ActiveWorkbook.SaveAs Filename:="D:\¥Ø¿ý\" & _
- Range("c2") & "\" & Range("A2") & _
- "-" & Format(Range("B2"), "yyyymmddhhss") & ".xlsm"
½Æ»s¥N½X ³o¼Ë¤À©îµ¥¦P¥u¦³¤@¦æ«ü¥O(»P즡ªº®ÄªG§¹¥þ¬Û¦P).
¦n³B¬O«K©ó«ü¥O§PŪ »P Á׶}³æ¦æ«ü¥Oªø«×¨î.
3. °£ÂÎ(Debug)®É¥i¥H§â¤¤Â_ÂI³]¦b¸Ó¦æ¨Ã°õ¦æ¦Ü¸Ó¦æ¼È°±,
±µµÛ«þ¨©¸Ó¦æ¶}±Ò "§Y®É¹Bºâ" µøµ¡,
¥ý¥´¤W¤@Ó ? ¦A©ó¨ä¥k¤è¶K¤W¸Ó¦æ«ü¥O«á«ö¤U Enter «öÁä,
¬Ý¬Ý¥X¨Óªºµ²ªG¬O§_¥¿½T,
«ùÄòקï ? «áªº¤º®eª½¨ìµ²ªG¥¿½T,
¦A±N¨ä§ó·s¨ìµ{¦¡¤¤§Y¥i. |
|