¬°¤°»ò³oÓÀɮץΰ_¨Ó³o»òºC.....
- ©«¤l
- 117
- ¥DÃD
- 34
- ºëµØ
- 0
- ¿n¤À
- 155
- ÂI¦W
- 0
- §@·~¨t²Î
- windows XP
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-19
- ³Ì«áµn¿ý
- 2024-8-29
|
¬°¤°»ò³oÓÀɮץΰ_¨Ó³o»òºC.....
¥»©«³Ì«á¥Ñ color790 ©ó 2011-10-28 23:13 ½s¿è
¦Û¤v©é©é¶K¶K¦Ó¦¨ªºÀÉ®×, ¥u¬O.....«ç»ò¶V¥Î¶VºC
¤£ª¾¹Dþ¸Ì¦³°ÝÃD, ±æ¤j®aÀ°Ó¦£:dizzy: |
|
ªì¾ÇªÌcolor
|
|
|
|
|
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2011-10-26 21:05 ½s¿è
¦^´_ 1# color790
ÀÉ®×Ū°_¨Ó½T¹ê«ÜºC,
¤@¯ë¨Ó»¡YÀÉ®×¥»¨¨Ã¤£¤j©Ò¥H¤£À³¸Ó¥X²{¦¹±¡§Î®É,
¥i¥H¦Ò¼{±N¤º®e¥þ³¡³£·h²¾¨ì¥t¤@Ó·s«Ø¥ßªºExcelÀÉ®×,
·íµM¤£·|¬O¾ãÓÀÉ®×¥þ³¡·Ó·h,
¨º¼Ë°ÝÃDÁÙ¬O·|¦s¦b¦Ó¨S¦³¸Ñ¨M.
§Ú¸û±`¨Ï¥Îªº¤èªk¬O :
1. ¤À§O°w¹ï¦UÓ Sheet °õ¦æ -> ²¾°Ê©Î½Æ»s -> ±N«Ø¥ß°Æ¥»¥´¤Ä -> ¥Ø¼Ð¿ï·s¬¡¶Ã¯ ½T»{¦¹°Ê§@ªº®É¶¡¬O§_¸ûªø,
¥H§PÂ_¤ò¯fÀ³¸Ó¬O¦bþ´XÓ Sheet ¤W,
½T»{«á½Ð°O±oÃö³¬(¨Ã¿ï¤£nÀx¦s)·s¶}ªº Excel ¬¡¶Ã¯ÀÉ®×. (¥»¨Ò¤¤§Úµo²{ tmp »P tmp2 ¨âÓ Sheet ©úÅãŪ¨ú®É¶¡¹Lªø)
2. ¨S°ÝÃDªº Sheet ª½±µ½Æ»s¨ì·sªº Excel Àɤº.
3. ¦Ó¹ï©ó¦³°ÝÃDªº Sheet «hµ½¥Î "½Æ»s -> ¿ï¾Ü©Ê¶K¤W",
¥u½Æ»s¹L¨Ó¦³¸ê®ÆªºÀx¦s®æ¤Î¨ä®æ¦¡´N¦n(¸ê®Æ»P®æ¦¡¦@¨â¦¸¤À§O¶K¤W, ¥BÀ³ÁקK¿ï¾ã¦C©Î¾ãÄæ),
¨S¸ê®Æªºª½±µ±Ë±ó.
4. ±Nµ{¦¡¤º®e¤å¦r¤À§O Copy ¨ì»P¨ä¬Û¹ïÀ³ªºµ{¦¡°Ï¶ô¤º.
³Ì«á¥t¦s·sÀɧY¥i.
©³¤U¬O§Ú¨Ì¤Wz¤è¦¡«°µ¹LªºÀÉ®×,
§A¬Ý¬Ý¬O§_²Å¦X§Aªº»Ý¨D.
123-Rebuild.zip (113.91 KB)
|
|
|
|
|
|
|
- ©«¤l
- 117
- ¥DÃD
- 34
- ºëµØ
- 0
- ¿n¤À
- 155
- ÂI¦W
- 0
- §@·~¨t²Î
- windows XP
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-19
- ³Ì«áµn¿ý
- 2024-8-29
|
ì¨Ó¦³°ªº¤èªk.....¤ÓÁÂÁÂluhproªºÀ°¦£ ^^
¥u¬O«Ü©_©Ç, «ç³o¨âÓ¤u§@¶·|°
¨ä¤¤¤@Ó¤u§@¶µ{¦¡½X¦p¤U...¬OþÓ³¡¥÷¥X¿ù¤F¶Ü?
For i = 3 To Worksheets("¥N½X").[a65536].End(xlUp).Row
num = Worksheets("¥N½X").Cells(i, 1)
Worksheets("tmp").Range("A:Z").ClearContents
With Worksheets("tmp").QueryTables.Add(Connection:="URL;http://jsjustweb.jihsun.com.tw/z/zc/zcl/zcl_" & num & ".asp.htm" _
, Destination:=Worksheets("tmp").Range("A1"))
.Name = ""
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlEntirePage
.WebFormatting = xlWebFormattingNone
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With |
|
ªì¾ÇªÌcolor
|
|
|
|
|
- ©«¤l
- 117
- ¥DÃD
- 34
- ºëµØ
- 0
- ¿n¤À
- 155
- ÂI¦W
- 0
- §@·~¨t²Î
- windows XP
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-19
- ³Ì«áµn¿ý
- 2024-8-29
|
¥»©«³Ì«á¥Ñ color790 ©ó 2011-10-26 22:24 ½s¿è
¦^´_ color790
ÀɮקڬO®Ú¥»¶}¤£°_¨Ó
¤£¹L¥ú¬O§A³oÓµ{¦¡½X
§An¤U¸ü©Ò¦³¥N½Xªº¸ê®Æ´N¥²¶·ªá¶O¬Û·íªø ...
Hsieh µoªí©ó 2011-10-26 21:30
°õ¦æ¬Onªá¤@¬q®É¶¡, ¦ýè¶}ÀÉ®×ÁÙ¨S°õ¦æ«eÀÉ®×´N«ÜºC, ¤ñ¦p´å¼Ðn¿ïA1, n4,5¬í¤~·|ÂI¨ì
¦Ó¥B¥»¨ÓÀÉ®×¥»¨Ó¥u¦³´X¦ÊK, °õ¦æ¹L´X¦¸«á´NÅÜ2ÂI¦hMb, ¦Ó¥B³o¨âÓ¤u§@¶¥u¬O¼È¦s, ¤]³£¦³°õ¦æ¥H¤U,
Worksheets("tmp").Range("A:Z").ClearContents
ÁÙ¬O»¡ClearContents µLªk¯uªº²M°£°®²b,¦Ó³y¦¨Àɮ׶V¨Ó¶VºC?????
(§â³o¨âÓ¤u§@¶§R°£¦A«·s¥[¤J, ´N¤SÅܶ¶«Ü¦h) |
|
ªì¾ÇªÌcolor
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
ÁקK³]¸m¤£¥²nªº®æ¦¡
¦pÀx¦s®æ¶ñº¡ÃC¦â·|ÅýÀÉ®×ÅܱoªÎ¤j¡C |
|
|
|
|
|
|
- ©«¤l
- 79
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 193
- ÂI¦W
- 0
- §@·~¨t²Î
- Winwos 7 64 bits
- ³nÅ骩¥»
- Excel 2003/2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIPEI
- µù¥U®É¶¡
- 2010-8-25
- ³Ì«áµn¿ý
- 2019-9-20
|
¥»©«³Ì«á¥Ñ diabo ©ó 2011-10-27 15:52 ½s¿è
¦^´_ 1# color790
Querytabe ¥Î§¹n§R°£.....¤£µM·|¶V¨Ó¶VªÎ.....
¨ì tmp ©Î tmp 2¤u§@ªí¡A«ö¤@¤U¡u¦WºÙ¤è¶ô¡v¤U©Ô¿ï³æ....´N·|¬Ý¨ì¦³ ¦n´X¦Êªº....
¥~³¡¸ê®Æ_1
¥~³¡¸ê®Æ_2
¥~³¡¸ê®Æ_3
....
..... |
|
diabo
|
|
|
|
|
- ©«¤l
- 79
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 193
- ÂI¦W
- 0
- §@·~¨t²Î
- Winwos 7 64 bits
- ³nÅ骩¥»
- Excel 2003/2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIPEI
- µù¥U®É¶¡
- 2010-8-25
- ³Ì«áµn¿ý
- 2019-9-20
|
¦^´_ 1# color790
¥Î³oÓ²M¤@¤U¤£nªºQueryTable- Sub DeleteTmpQueryTable()
- Dim QT As QueryTable
- For Each QT In Sheets("tmp").QueryTables
- Debug.Print QT.Name
- QT.Delete
- Next
- For Each QT In Sheets("tmp2").QueryTables
- Debug.Print QT.Name
- QT.Delete
- Next
- End Sub
½Æ»s¥N½X |
|
diabo
|
|
|
|
|
- ©«¤l
- 117
- ¥DÃD
- 34
- ºëµØ
- 0
- ¿n¤À
- 155
- ÂI¦W
- 0
- §@·~¨t²Î
- windows XP
- ³nÅ骩¥»
- OFFICE 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-19
- ³Ì«áµn¿ý
- 2024-8-29
|
¦^´_ color790
¥Î³oÓ²M¤@¤U¤£nªºQueryTable
diabo µoªí©ó 2011-10-27 15:58
¥H«e±q¨Ó¤£ª¾¹D¦³³oÓ¦a¤è, ¤Ó·PÁ¤F
¦A½Ð°Ý¤@¤U,QueryTable ¤°»ò®ÉÔ·|¦³¹³³o¼Ë²Ö¿nªº²{¶H |
|
ªì¾ÇªÌcolor
|
|
|
|
|
- ©«¤l
- 79
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 193
- ÂI¦W
- 0
- §@·~¨t²Î
- Winwos 7 64 bits
- ³nÅ骩¥»
- Excel 2003/2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIPEI
- µù¥U®É¶¡
- 2010-8-25
- ³Ì«áµn¿ý
- 2019-9-20
|
¦^´_ 9# color790
¨C¬d¤@¦¸´N·|²Ö¿n¤@¦¸¡A¥i¥[°Ñ¼Æ§R°£¤§... |
|
diabo
|
|
|
|
|