Board logo

¼ÐÃD: [µo°Ý] ½Ð°Ýºô­¶¶×¤Jexcel«á§ó·sªº°ÝÃD [¥´¦L¥»­¶]

§@ªÌ: laieven    ®É¶¡: 2017-6-10 12:41     ¼ÐÃD: ½Ð°Ýºô­¶¶×¤Jexcel«á§ó·sªº°ÝÃD

½Ð°Ý¦U¦ì¥ý¶i
§Ú±q´Á¥æ©Òºô­¶¶×¤Jvix¸ê®Æ¨ìexcel¤¤(¦p¹Ï)
ºô­¶¥»¨­¨C5¬í·|§ó·s¤@¦¸
¦ý¬Oexcel³Ì¤p¥u¯à³]©w¨C1¤ÀÄÁ§ó·s
¦³¨S¦³¤èªk¥i¥HÅý¥L¸òµÛ¨C5¬í§ó·s¤@¦¸©O?

§Ú¹Á¸ÕµÛ¥ÎCalculate¥[¤WApplication.OnTime Now + TimeValue("00:00:05")¨Ó³B²z
¤£ª¾¹D¬O§_¥i¦æ!!

ÁٽЦU¦ì«ü¾É¤@¤U!!·PÁÂ
[attach]27316[/attach][attach]27316[/attach]
§@ªÌ: fengetianxia    ®É¶¡: 2017-6-13 10:53

¸Õ¸Õ¬Ý

Sub refre()


    ActiveWorkbook.Connections("³s±µ").Refresh
     Application.OnTime Now() + TimeValue("00:00:05"), "refre"
End Sub

ConnectionsùØ­±¶ñ¼g¬ÛÃö³s±µªº¦WºÙ(¥´¶}³s½u¥i¥H¬Ý¨ì)




Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)