½Ð°Ý¦p¦ó¶}±Ò¨Ì¤é´ÁÀɦW°µ½Æ»s¶K¤W
- ©«¤l
- 102
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 137
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- 12
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-11-24
- ³Ì«áµn¿ý
- 2018-12-6
|
½Ð°Ý¦p¦ó¶}±Ò¨Ì¤é´ÁÀɦW°µ½Æ»s¶K¤W
½Ð§Ú°²³]§Ú¦³ÓexcelÀÉ®× ¡Ga.xls
n±q¬YÓ¸ê®Æ§¨¡]¨Ò¦p D:\123) ¤¤ªºÀÉ®× C4~C100ªº¸ê®Æ½Æ»s ¡AµM«á ¶K¨ìa.xls ªº B4~B100
¦ýD:\123¤¤ªºÀÉ®× ¬O·|Åܤƪº
¨Ò¦p abc1201 ¬O12¤ë1¤é¥Í¦¨ªºÀÉ
Y¨ì12/2 ´N·|Åܦ¨abc1202
12/3 ´N·|Åܦ¨abc1203
´N¬O¨C¤Ñ·|¶K¤@¦¸¨ìa.xls ªº B4~B100
ChDir "D:\123"
Workbooks.Open Filename:="D:\abc1202.xls"
Range("B4").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Windows("a.xls").Activate
Range("b4").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
½Ð°Ýn¦p¦óקï©O
ÁÂÁÂ |
|
Tony
|
|
|
|
|
- ©«¤l
- 31
- ¥DÃD
- 0
- ºëµØ
- 0
- ¿n¤À
- 31
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- office 2016
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-10-4
- ³Ì«áµn¿ý
- 2017-10-17
|
¦^´_ 1# tonycho33
"D:\abc" & Format(Date, "mmdd") & ".xls" |
|
|
|
|
|
|
- ©«¤l
- 102
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 137
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- 12
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-11-24
- ³Ì«áµn¿ý
- 2018-12-6
|
¦^´_ 2# ¸°ê¬w
½Ð°Ý¦pªG§Ú¨C¦¸n§ì«e¤@¤Ñ¤é´Áªº¸Ün¦p¦ó¼g
©Î¬O¥i¸õ¥X¤@Óµøµ¡¿é¤J¤é´Á´X¤ë´X¸¹?
ÁÂÁÂ |
|
Tony
|
|
|
|
|
- ©«¤l
- 102
- ¥DÃD
- 30
- ºëµØ
- 0
- ¿n¤À
- 137
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- 12
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-11-24
- ³Ì«áµn¿ý
- 2018-12-6
|
¦^´_ 3# tonycho33
½Ð°Ý¤@¤U§Ú·Q¨C¦¸§ì¨ú¡y«e¤@¤Ñ¤é´ÁªºÀɦW¡z
¨Ò¦p¤µ¤Ñ¬O12/22
§ÚÀÉ®×n§ìabc20161221.xls
½Ð°Ýn¦p¦ó¨Ï¥Î©O
µ{¦¡½X¦n¹³µLªk¹F¨ì¡Ð½Ð¨ó§UÁÂÁÂ
myday = DateAdd("m", -1, Date)
Workbooks.Open Filename:="abc" & myday & ".xls" |
|
Tony
|
|
|
|
|