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

[µo°Ý] ½Ð°ª¤HÀ°¦£°£¿ù¡AÁÂÁÂ~

¦^´_ 3# 198188


       ¦^µª²Ä¤@ÃD    ¨S¿ù   «e­±¤£»Ý­nvba.
   ¦^µª²Ä¤GÃD    ¹ï  ¨º¥yµ{¦¡¬O¥u¦³¦b¹q¸£¥k¤U¨¤20:00:00ªº®É­Ô¤~·|°õ¦æ
     ¥b¤p®Éªº¸Ü  
     Application.OnTime Now + TimeValue("00:30:00"), "Module1.text1"
   ¦^µª²Ä¤TÃD    ·|¦Û°ÊÂл\
   ¦^µª²Ä¥|ÃD    ¤£­n¦b¨ºabcde¸Ì­±©ñ¸mvba   ÀH«K¤@­Óexcel¤º´N¦n
¦Û¥Î¨®¤]¥i¥Hñ±b³á!
¤­¤d¤¸¥[ªoª÷¥[¤Jªo½c«áÁÙ¦^õX±z6200¤¸
ºÖ§Q©ô¨®¤Í·|power-want.com

TOP

¦^´_ 2# die78325


    VBA.FileCopy "Y:\2012\Jan\a.xlsx", "C:\user\destop\1.xlsx"
¦pªGcopy ªºfile ¤£§tVBA¡A¬O¤£¬O¤£¥Î¼gvba,¥u¼gFileCopy "Y:\2012\Jan\a.xlsx", "C:\user\destop\1.xlsx"


Application.OnTime TimeValue("20:00:00"), "Module1.text1"
¹q¸£®É¶¡¨ì¥H¤W®É¶¡´N°õ¦æ¼Ò²Õ ¡§ MODULE 1 ¡¨ ¤ºªº ¡§ text1 ¡¨ ³o­Óµ{¦¡
³o­Ó¬O¤£¬O«ü©w20¡G00¤~copy¡A¦pªG¬O¥b¤p®Écopy¤@¦¸¥i¥H¶Ü¡H¦Ó®à­±¥»¨­¦³³o­Ófile¡A¬O¤£¬O¦Û°ÊÂл\ªºfile?

¨º»ò¬O¤£¬O±N³o­Óµ{¦¡¥[¦b·sªº¤@­Óexcel¡AÁÙ¬O©ñ¦b·Qcopyªºexcel¤º¡]a.xlsx  b.xlsx  c.xlsx  d.xlsx   e.xlsx¡^

TOP

¦^´_ 1# 198188

¤£ª¾§Aªº [  ]¬O§_¬O¯u¹ê¦s¦b   ¦b³o§Ú°²³]®Ø¬O¨S¦³ªº!
    Sub txet1()
'³æ¯Â½Æ»s§ó¦W
VBA.FileCopy "Y:\2012\Jan\a.xlsx", "C:\user\destop\1.xlsx"
VBA.FileCopy "Y:\2012\Feb\b.xlsx", "C:\user\destop\2.xlsx"
VBA.FileCopy "Y:\2012\Mar\c.xlsx", "C:\user\destop\3.xlsx"
VBA.FileCopy "Y:\2012\Apr\d.xlsx", "C:\user\destop\4.xlsx"
VBA.FileCopy "Y:\2012\e.xlsx", "C:\user\destop\5.xlsx"
End Sub


¦psever¨C¤éÀÉ®×·|ÅÜ°Ê
»Ý­n¦b¸ô®|¥[¤W§P§O¤µ¤Ñ ¤é´Áªº»yªk
p =Format(Date, "d")&"-"&Format(Date, "m")
Format(Date, "d")  <-¤µ¤Ñªº¤é´Á ¨ú"¤é"
Format(Date, "m") <-¤µ¤Ñªº¤é´Á ¨ú"¤ë"

©Ò¥H²z½×¤W ´N­n §ï¬°
VBA.FileCopy "Y:\2012\Jan\a& p & .xlsx", "C:\user\destop\1.xlsx"


¦W¤l¤£¦P³o³¡¤À¥i¯àÁÙ­n¥[¥H­×¥¿  ¦]¬°­n¥Xªù¤F ½Ð¨ä¥L¤j¤jÀ°§Ú¥[¥H­×¥¿ ·PÁÂ!!
Application.OnTime TimeValue("20:00:00"), "Module1.text1"
¹q¸£®É¶¡¨ì¥H¤W®É¶¡´N°õ¦æ¼Ò²Õ ¡§ MODULE 1 ¡¨ ¤ºªº ¡§ text1 ¡¨ ³o­Óµ{¦¡
¦Û¥Î¨®¤]¥i¥Hñ±b³á!
¤­¤d¤¸¥[ªoª÷¥[¤Jªo½c«áÁÙ¦^õX±z6200¤¸
ºÖ§Q©ô¨®¤Í·|power-want.com

TOP

½Ð°Ý¦³µL°ª¤â¥i¥H°µ¨ì³o®ÄªG

³]©w©w®É±Nserver ªº´X­Óexcel copy ¦b®à­±¡H
¨Ò¦p¡G
server
Y:\2012\Jan\[a.xlsx]
Y:\2012\Feb\[b.xlsx]
Y:\2012\Mar\[c.xlsx]
Y:\2012\Apr\[d.xlsx]
Z:\2012\[e.xlsx]
±N¤W­±³o¨Çfile copy ¨ì¤U­±¦a§}¡G
C:\user\destop\
¦pªG¥i¥H±NFILE¦W§ïÅܦ¨¥t¤@­Ó¦W´N§ó¦n
¨Ò¦p
[a.xlsx] §ï¦¨ 1.xlsx
[b.xlsx] §ï¦¨ 2.xlsx
[c.xlsx] §ï¦¨ 3.xlsx
[d.xlsx] §ï¦¨ 4.xlsx
[e.xlsx] §ï¦¨ 5.xlsx

¥t¥~¦pªGSERVER¦W¨C¤é¤£¦P¥i¥H¶Ü¡G
¨Ò¦p¡G
¤µ¤é¬O2/Dec
server
Y:\2012\Jan\[a2-12.xlsx]
Y:\2012\Feb\[b2-12.xlsx]
Y:\2012\Mar\[c2-12.xlsx]
Y:\2012\Apr\[d2-12.xlsx]
Z:\2012\[e2-12.xlsx]

¤µ¤é¬O3/Dec
server
Y:\2012\Jan\[a3-12.xlsx]
Y:\2012\Feb\[b3-12.xlsx]
Y:\2012\Mar\[c3-12.xlsx]
Y:\2012\Apr\[d3-12.xlsx]
Z:\2012\[e3-12.xlsx]
¦p¦¹Ãþ±À¡A¦WºÙ¸ò¤é´ÁÅÜ°Ê

TOP

        ÀR«ä¦Û¦b : §Ú­Ì­n°µ¦nªÀ·|ªºÀô«O¡A¤]­n°µ¦n¤º¤ßªºÀô«O¡C
ªð¦^¦Cªí ¤W¤@¥DÃD