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

[µo°Ý] ¶×¤Jºô­¶¸ê®Æ«á¼Æ¦r«eªº"0"³Q§R±¼¤F

[µo°Ý] ¶×¤Jºô­¶¸ê®Æ«á¼Æ¦r«eªº"0"³Q§R±¼¤F

¦U¦ì«e½ú, ½Ð±Ð¤@­Ó°ÝÃD
§Ú¥ÎExcel VBAªºQueryTables.Add ¶×¤Jºô­¶¸ê®Æ, µ²ªG¼Æ¦r«e­±ªº"0"³£³Q¥h°£¤F,
¨Ò¦p: 00086·|Åܦ¨86
¬O§_¦³¿ìªk«O¯d§¹¾ãªº¼Æ¦r? ÁÂÁÂ!

¦b½á­È«ü¥Oªº«e­±¹ï±ý½á­ÈªºÀx¦s®æ¥[¤W :
.NumberFormat = "@"
¤§«á¦A½á­È®É¼Æ¦r«e­±ªº0´N¤£·|³Q²M±¼ ...
luhpro µoªí©ó 2015-5-17 21:33


luhpro¤j ±z¦n,
ÁÂÁ´£¿ô, ¤U¦¸·|ª`·Nµo¤å¦b¥¿½Tªº°Q½×°Ï¡C

§Ú¨Æ¥ý¤w±N©Ò¦³Àx¦s®æ³]©w¬°¤å¦r«¬ºA, ¦ý¨Ï¥ÎQueryTables.Add ¶×¤Jºô­¶¤§«á¼Æ¦r¸ê®Æ«e­±ªº0ÁÙ¬O³Q²M±¼¤F(¦¹®É¦A½T»{Àx¦s®æÁÙ¬O¤å¦r«¬ºA)
µ{¦¡½X¦p¤U, ¯à§_À°¦£¬Ý¬Ý¬O§_¦³­þ¸Ì»Ý­n­×§ï? ·P¿E¤£ºÉ~
   
xlURL = "http://www.emega.com.tw/js/StockTable.htm"   
With TempSheet1.QueryTables.Add("URL;" & xlURL, TempSheet1.Cells(1, 1))
    .WebFormatting = xlWebFormattingNone
    .WebTables = "1"
    .Refresh 0
    .Delete
End With

TOP

¥»©«³Ì«á¥Ñ luhpro ©ó 2015-5-17 21:38 ½s¿è
¦U¦ì«e½ú, ½Ð±Ð¤@­Ó°ÝÃD
§Ú¥ÎExcel VBAªºQueryTables.Add ¶×¤Jºô­¶¸ê®Æ, µ²ªG¼Æ¦r«e­±ªº"0"³£³Q¥h°£¤F,
...
Jackie_1st µoªí©ó 2015-5-17 03:23


¦b½á­È«ü¥Oªº«e­±¹ï±ý½á­ÈªºÀx¦s®æ¥[¤W :
.NumberFormat = "@"
¤§«á¦A½á­È®É¼Æ¦r«e­±ªº0´N¤£·|³Q²M±¼¤F,
­n¯d·N¨Ï¥Î¦¹ªk«áÀx¦s®æ¤º®e¬°¤å¦r«¬ºA.

¥t¤@­Ó¤èªk¬O¦b ½á­È ªº¤º®e«e­±¥[¤W '
¨Ò¦p 00086 §ï¦¨ '00086
¤£¹L¤§«á¨ú­È®É­n¯d·N ' ªº³B²z.

ÁÙ¦³ Excel VBA ¬ÛÃö°Q½×À³¸Ó­nµoªí¦b :
Excelµ{¦¡°Ï
¤º³á.

TOP

        ÀR«ä¦Û¦b : ¡i»X½ªªº¦Û¥Ñ¡j¤H±`¦b¤°»ò³£¥i¥H¦Û¥Ñ¦Û¦bªº®É­Ô¡A«o³Q³oºØÀH¤ß©Ò±ýªº¦Û¥Ñ»X½ª¡AµêÂY®É¥ú¦Ó²@µLıª¾¡C
ªð¦^¦Cªí ¤W¤@¥DÃD