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

[µo°Ý] ¦p¦ó¥Îvba¤U¸üÃÒ¥æ©Òºô­¶(¤é¦¬½L»ù¤Î¤ë¥­§¡¦¬½L»ù)¸ê®Æ

[µo°Ý] ¦p¦ó¥Îvba¤U¸üÃÒ¥æ©Òºô­¶(¤é¦¬½L»ù¤Î¤ë¥­§¡¦¬½L»ù)¸ê®Æ


­ì¥ý¥i¥Hª½±µ¥Îºô§}³sµ²¤è¦¡¤U¸ü
http://www.twse.com.tw/ch/trading/exchange/STOCK_DAY_AVG/genpage/Report201602/201602_F3_1_8_2303.php?STK_NO=2303&myear=2016&mmon=01
¦Û2¤ë°_´NµLªk³sµ²
¦U¦ì¥ý¶i½Ð°Ý­n¦p¦ó½s¼gvba¥h¤U¸ü¹Ï¤ù¤¤¬õ¦â®Ø®Øªº¸ê®Æ
(ÃÒ¥æ©Òºô§}:http://www.twse.com.tw/ch/trading/exchange/STOCK_DAY_AVG/STOCK_DAY_AVGMAIN.php)

¦^´_ 13# GBKEE
tks! ¥ý¼È®É¥Î¤â°Ê§R°£§@·~

TOP

¦^´_ 12# clianghot546

¯à¤O¤£°÷,§Ú¨Ï¥Î2003ª©¨S¦³ ActiveWorkbook.Connections
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 8# GBKEE


¥i¥H¦A½Ð±Ð¤@­Ó°ÝÃD
­ì¥ý¤U¸ü§¹«á·|²£¥Í¤@­Ó³s½u¦W¬°"³s½u" ,¦bµ{¦¡³Ì«á¥Î
ActiveWorkbook.Connections("³s½u").Delete  
§Y¥i§R°£
²{¦b«h·|²£¥Í¥X"ªÑ²¼¥N¸¹"ªº³s½u¡A½Ð±Ð¥i¥ÎÅܼƪº¤è¦¡¨Ó³B²z¶Ü

TOP

¦^´_  clianghot546


WIN10+OFFICE2016 ªºpc¸Ì¦³³o¸ê®Æ§¨¶Ü?

¸Õ¸Õ¬Ý «Ø¥ß¸ê®Æ
GBKEE µoªí©ó 2016-2-9 13:29

¦A½Ð±Ð¤@­Ó°ÝÃD
­ì¥ý¤U¸ü§¹«á·|²£¥Í¤@­Ó³s½u¦W¬°"³s½u" ,¦bµ{¦¡³Ì«á¥Î
ActiveWorkbook.Connections("³s½u").Delete  
§Y¥i§R°£
²{¦b«h·|²£¥Í¥X"ªÑ²¼¥N¸¹"ªº³s½u¡A½Ð±Ð¥i¥ÎÅܼƪº¤è¦¡¨Ó³B²z¶Ü

TOP

¦^´_ 8# GBKEE
ÁÂÁÂGBKEE¦^ÂÐ
¤µ¤éªá®É¶¡±qÀY¬Ý¤@¹M«áµo²{¦³¤@³B¸ô®|¥¼­×§ï§¹¥þ
²{¦b¥i¥¿±`¹B§@¤F

TOP

¦^´_ 7# joey0415
joey0415
®Ú¾Ú±zªº¦^ÂЧڦ³µy§@­×§ï¥H®M¥Î¦b§Úªº¹q¸£
­Y¦³«_¥Ç½Ð¨£½Ì

TOP

¦^´_ 6# clianghot546

    WIN10+OFFICE2016«o·|¥d¦b       .SaveToFile ("C:\Users1\CYUser\Downloads" & "\" & ªÑ²¼¥N½X & ".CSV")

WIN10+OFFICE2016 ªºpc¸Ì¦³³o¸ê®Æ§¨¶Ü?

¸Õ¸Õ¬Ý «Ø¥ß¸ê®Æ
  1. Option Explicit
  2. Sub Ex()
  3.     Dim xPath As String, i As Integer, S As String
  4.     xPath = "C:\Users1\CYUser\Downloads"
  5.     For i = 2 To UBound(Split(xPath, "\"))
  6.         S = Mid(xPath, 1, InStr(xPath, Split(xPath, "\")(i)) - 1)
  7.         If Dir(S, vbDirectory) = "" Then MkDir S
  8.    Next
  9.    If Dir(xPath, vbDirectory) = "" Then MkDir xPath
  10.    MsgBox Dir(xPath, vbDirectory)
  11. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 6# clianghot546
  1. C:\Users1\CYUser\Downloads" & "\" & ªÑ²¼¥N½X & ".CSV")
½Æ»s¥N½X
§Úªºµ{¦¡½X¨S¦³³o­Ó®@¡I

C:\Users1\CYUser\Downloads

¸ô®|¤£¹ï®@

TOP

¦^´_  clianghot546

¤U¸ücsv ¡A¶×¤J¦A§R°£§Y¥i
joey0415 µoªí©ó 2016-2-4 15:12


¦A½Ð±Ð
­ì¥ýªºvba½X¦bWIN7+OFFICE2010¥i¹B¦æ
¦bWIN10+OFFICE2016«o·|¥d¦b       .SaveToFile ("C:\Users1\CYUser\Downloads" & "\" & ªÑ²¼¥N½X & ".CSV")
¦p¤U¹Ï

TOP

        ÀR«ä¦Û¦b : ¯àµ½¥Î®É¶¡ªº¤H¡A¥²¯à´x´¤¦Û¤v§V¤Oªº¤è¦V¡C
ªð¦^¦Cªí ¤W¤@¥DÃD