¨Ï¥ÎVBA§ì¨úºô¶¸ê®Æ¡A¤j¬ù¤£¨ì5µ§´N·|·í±¼¡A¨D¸Ñ
- ©«¤l
- 132
- ¥DÃD
- 31
- ºëµØ
- 0
- ¿n¤À
- 167
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taipei
- µù¥U®É¶¡
- 2011-4-14
- ³Ì«áµn¿ý
- 2024-2-28
|
¨Ï¥ÎVBA§ì¨úºô¶¸ê®Æ¡A¤j¬ù¤£¨ì5µ§´N·|·í±¼¡A¨D¸Ñ
¥»©«³Ì«á¥Ñ clio ©ó 2019-8-23 14:38 ½s¿è
¦U¦ì«e½ú¡A
¤p§Ì§Ú»Ýn¦b§Q¥ÎDigiKey¨Ó§@¸ê®Æ¤ñ¹ïªº¤u§@¡A·í§ì¨ì¦³¬Û²Åªº¸ê®Æ¡A·|±N¤@¨Ç¸ê®Æ°O¿ý¤U¨Ó¡A¦ý¬O¤§«e§Q¥ÎVBA§ìºô¶ªºµ{¦¡¦³Àò¡iGBKEE¡j¤j¤jªº«ü¾Éקï¤F¡A¦ý¬O¥Ø«e¦]¬°³sµ²ªº¦aÂI¤£¦P¡A¤]µo²{³ºµM¶]¨ì²Ä¤µ§´N·í®Æ¡A¯S¦a¤W¨Ó¨D¸Ñ¡AÁٽе¹¤p§Ì¤@¨Ç«Øij¡A·PÁ±z¡C
¤p§Ì·|¥Î¬¡¶¡iPN List¡j¤ºªºBÄ椺¸ê®Æ¬°KeyÈ¥h¥N¤Jºô¶§ì¨ú¸ê®Æ
§ìºô¶¸ê®Æµ{¦¡_D1.zip (38.53 KB)
|
|
clio
|
|
|
|
|
- ©«¤l
- 132
- ¥DÃD
- 31
- ºëµØ
- 0
- ¿n¤À
- 167
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taipei
- µù¥U®É¶¡
- 2011-4-14
- ³Ì«áµn¿ý
- 2024-2-28
|
¦^´_ 8# joey0415
·PÁÂJoey ¡A¤p§Ì§Ú¦A¸Õ¸Õ¬Ý¡K¸U¤À·PÁ±z |
|
clio
|
|
|
|
|
- ©«¤l
- 361
- ¥DÃD
- 57
- ºëµØ
- 0
- ¿n¤À
- 426
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 2003,2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-13
- ³Ì«áµn¿ý
- 2022-12-8
|
¥»©«³Ì«á¥Ñ joey0415 ©ó 2019-8-29 21:10 ½s¿è
¦^´_ 7# clio
ª½±µ½Õ¥ÎApplication.Wait
VBA¤ºªºApplication Object ¦³ Wait ¥i¨Ñ¨Ï¥Î¡AYn¼È°±1¬í¡A¥i½s½X¡G
Application.Wait Now + TimeValue("00:00:01")
¥[¤Wµ¥«Ý®É¶¡¸Õ¸Õ
¦³ªººô¯¸nµ¥
¬í¼Æ¤£¤@©w
¤½¶}¸ê°T¯¸goodinfoµ¥¡Aª¦¤Ó§Ö³£·|Âêip
¦pªGÁÙ¤£¦æ
¦A½Ð¯q§Oªº°ª¤â |
|
|
|
|
|
|
- ©«¤l
- 132
- ¥DÃD
- 31
- ºëµØ
- 0
- ¿n¤À
- 167
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taipei
- µù¥U®É¶¡
- 2011-4-14
- ³Ì«áµn¿ý
- 2024-2-28
|
¦^´_ 6# joey0415
¸U¤À·PÁÂJoeyªº¸Ô²Ó¸Ñ»¡¡A¯uªºÅý¤p§Ì§Ú¨ü¯q«Ü¦h¡A¸Ñ¨M¤F³oÓ°ÝÃD
·Q¦A¸ò«e½ú½Ð±Ð¤@¤U¡A·í¤p§Ì§ï¦¨¨Ï¥ÎXMLHTTP¨Ó§ì¨úºô¶¸ê®Æ®É¡A¤j¬ù60µ§¥ª¥k¡A´N·|²£¥ÍµLªk³sµ²ªº¿ù»~¡A¨äStatus¡÷403
¤p§Ì¤]¦bºô¸ô¤W¸ÕµÛ§ä´M¸Ñ¨M¿ëªk¡A¦ý¬O¥¼ªG¡A¤£ª¾¹D«e½ú¬O§_ª¾¹D¸Ñ¨Mªº¤èªk©O¡H
¦A¦¸½Ð±Ð¡A³Â·Ð±z¤F¡A·PÁ±z¡C |
|
clio
|
|
|
|
|
- ©«¤l
- 361
- ¥DÃD
- 57
- ºëµØ
- 0
- ¿n¤À
- 426
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 2003,2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-13
- ³Ì«áµn¿ý
- 2022-12-8
|
|
|
|
|
|
|
- ©«¤l
- 132
- ¥DÃD
- 31
- ºëµØ
- 0
- ¿n¤À
- 167
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taipei
- µù¥U®É¶¡
- 2011-4-14
- ³Ì«áµn¿ý
- 2024-2-28
|
¦^´_ 4# joey0415
Hi Joey,
½Ð°Ý¤@¤U§Ú«ç»ò¼Ë¥i¥Hª¾¹D³oÓºô¶¦³´XÓTable©O¡H¦³¤@Ópºâªºµ{¦¡¶Ü¡H |
|
clio
|
|
|
|
|
- ©«¤l
- 361
- ¥DÃD
- 57
- ºëµØ
- 0
- ¿n¤À
- 426
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 2003,2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-13
- ³Ì«áµn¿ý
- 2022-12-8
|
¦^´_ 3# clio
¤@µ§¡A¦hµ§¡AµL¸ê®Æ¡A¥i¥Îºô¶¤W¦³´XÓtable§PÂ_
¤U¤è¬O¦hµ§- Sub test()
- Cells.ClearContents
- '³]©w¤Þ¥Î¶µ¥Ø microsoft html object library
- Dim bPostData() As Byte
- Dim URL, strurlHeaders As String
- Dim i, j As Integer
- Dim hDoc As New MSHTML.HTMLDocument
- Dim objIE As Object
- spath = ThisWorkbook.Path
- URL = "https://www.digikey.tw/products/en?keywords=ULN2003AFWG"
- ' Stop
- strurlHeaders = "Content-Type: application/x-www-form-urlencoded"
- Set objIE = CreateObject("InternetExplorer.Application")
- With objIE
- .Visible = True
- .Navigate URL, , , bPostData, strurlHeaders
- Do While .readyState <> 4: DoEvents: Loop
- Set hTable = .Document.getElementsByTagName("table")(0)
- With ActiveSheet
- For i = 0 To hTable.Rows.Length - 1
- For j = 0 To hTable.Rows(i).Cells.Length - 1
- .Cells(i + 1, j + 1) = hTable.Rows(i).Cells(j).innerText
- Next
- Next
- End With
- End With
- objIE.Quit
- Set objIE = Nothing
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 132
- ¥DÃD
- 31
- ºëµØ
- 0
- ¿n¤À
- 167
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- Office 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taipei
- µù¥U®É¶¡
- 2011-4-14
- ³Ì«áµn¿ý
- 2024-2-28
|
¦^´_ 2# joey0415
Hi Joey0415,
¤p§Ì´ú¸Õ¹L¤F¡A¥i¥H°õ¦æ¤@µ§¡A¦ý¬O¦]¬°¬O¤ñ¹ï¸Ó®Æ¬O§_¦bDigikeyªº¸ê®Æ®w¤º¡A©Ò¥H·|¦³¤ñ¹ïè¦n¤@µ§¡A¦hµ§¡A»P§ä¤£¨ìªº±¡ªp¡A§Úì¥ýªºµ{¦¡¡A¦³¦Ò¶q³o¨Ç±¡ªp¤À§O§@¤£¦P³B¸m¡A¦ý¬O±zªº³oÓµ{¦¡¡A¥u¯à§ä¨ì¦³¶]¥XTableªºªí®æªº¡A©Ò¥H·|¦³·í¾÷ªº±¡ªp»¡¡A¬O§_ÁÙ¦³§ïµ½¤è¦¡©O¡H·PÁ±z¡C
¡iTD62597AFG¡j§ä¤£¨ì¸ê®Æ
¡iULN2003AFWG¡j§ä¨ì¦hµ§¸ê®Æ |
|
clio
|
|
|
|
|
- ©«¤l
- 361
- ¥DÃD
- 57
- ºëµØ
- 0
- ¿n¤À
- 426
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- 2003,2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-13
- ³Ì«áµn¿ý
- 2022-12-8
|
¦^´_ 1# clio
¥u§ì
https://www.digikey.tw/products/en?keywords=%22CRL2010-JW-1R00ELF-ND%22
³Ñ¤U½Ð¦Û¦æקï
test.zip (15.43 KB)
|
|
|
|
|
|
|