¥Îexcel¤Wºô¬dµ¼Ð¤S¬G»Ù¤F¡A¤£ª¾¨º¸Ì¥X°ÝÃD¡H
- ©«¤l
- 116
- ¥DÃD
- 41
- ºëµØ
- 0
- ¿n¤À
- 162
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taiwan
- µù¥U®É¶¡
- 2010-7-22
- ³Ì«áµn¿ý
- 2024-2-9
|
¥Îexcel¤Wºô¬dµ¼Ð¤S¬G»Ù¤F¡A¤£ª¾¨º¸Ì¥X°ÝÃD¡H
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 116
- ¥DÃD
- 41
- ºëµØ
- 0
- ¿n¤À
- 162
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taiwan
- µù¥U®É¶¡
- 2010-7-22
- ³Ì«áµn¿ý
- 2024-2-9
|
001.rar (26.24 KB)
¥u¯à¦^¶Ç¤@¨Ç¤¤Ä¶¡K |
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 259
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-30
|
¦^´_ 2# ¦Û§Ú·Pı¨}¦n - Sub Macro1()
- '
- ' Macro1 Macro
- '
- ' §Ö³tÁä: Ctrl+p
- Columns("B:B").Select
- With Selection.Font
- .Name = "Arial Unicode MS"
- .Size = 12
- End With
- Range("a1").Select
- Dim XH As Object
- Dim rng As Range
-
- Dim iurl, iurl2 As String
- '²M°£¤w¦³ªº¸ÑÄÀ¤Îµ¼Ð
- iurl = "http://tw.dictionary.search.yahoo.com/search?p="
- iurl2 = "http://dict.tw/index.pl?query="
- For Each rng In ActiveSheet.Range("a1", ActiveSheet.Range("a65536").End(xlUp))
- rng.Select
- If rng.Value <> "" Then
- rng.Select
- Set XH = CreateObject("Microsoft.XMLHTTP")
- With XH
- .Open "get", iurl & rng, False
- .send
- ' On Error Resume Next
- '±qYahoo¦r¨åºK¨ú²Ä¤@²Õ¤¤¤å½Ķ
- n = .responseText
- If InStr(.responseText, "><h4>1.") > 0 Then rng.Offset(0, 2) = Trim(Split(Split(.responseText, "><h4>1.")(1), "<")(0))
- 'ºK¨úKKµ¼Ð
- If InStr(.responseText, ">KK[") > 0 Then rng.Offset(0, 1) = "[" & Split(Split(.responseText, ">KK[")(1), "]")(0) & "]"
- .Open "get", iurl2 & rng, False
- .send
- '±qDICT.TW ^º~¦r¨åÂ^¨ú¦r¸q
- If InStr(.responseText, "</span><br /> ") > 0 Then rng.Offset(0, 3) = Split(Split(.responseText, "</span><br /> ")(1), "<")(0)
- End With
- End If
- Next
- End Sub
½Æ»s¥N½X |
|
¾Ç®üµL²P_¤£®¢¤U°Ý
|
|
|
|
|
- ©«¤l
- 116
- ¥DÃD
- 41
- ºëµØ
- 0
- ¿n¤À
- 162
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taiwan
- µù¥U®É¶¡
- 2010-7-22
- ³Ì«áµn¿ý
- 2024-2-9
|
¦^´_ 3# Hsieh
n = .responseText
If InStr(.responseText, "><h4>1.") > 0 Then rng.Offset(0, 2) = Trim(Split(Split(.responseText, "><h4>1.")(1), "<")(0))
'ºK¨úKKµ¼Ð
If InStr(.responseText, ">KK[") > 0 Then rng.Offset(0, 1) = "[" & Split(Split(.responseText, ">KK[")(1), "]")(0) & "]"
.Open "get", iurl2 & rng, False
.send
'±qDICT.TW ^º~¦r¨åÂ^¨ú¦r¸q
If InStr(.responseText, "</span><br /> ") > 0 Then rng.Offset(0, 3) = Split(Split(.responseText, "</span><br /> ")(1), "<")(0)
End With
End If
Next
End Sub
´«Ó¤èªk´N¥i¥H¥Î¤F¡K
¯uªº¤Ó·PÁ¤F¡C |
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 116
- ¥DÃD
- 41
- ºëµØ
- 0
- ¿n¤À
- 162
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- Taiwan
- µù¥U®É¶¡
- 2010-7-22
- ³Ì«áµn¿ý
- 2024-2-9
|
¦^´_ 4# ¦Û§Ú·Pı¨}¦n
¶Ã§ï¤@³q.rar (16.61 KB)
¥~¦æ¤H§â¥¦§ï¦¨³o¼Ë¡Aµ{¦¡À³¸ÓÁÙ¥i¥H§ó²©öªº
Sub searchIT(rng As Range)
Dim XH As Object
Dim shpRm As Shape
Columns("B:B").Select
With Selection.Font
.Name = "Arial Unicode MS"
.Size = 12
End With
Range("a1").Select
Dim iurl, iurl2 As String
'²M°£¤w¦³ªº¸ÑÄÀ¤Îµ¼Ð
iurl = "http://tw.dictionary.search.yahoo.com/search?p="
iurl2 = "http://dict.tw/index.pl?query="
For Each rng In ActiveSheet.Range("a1", ActiveSheet.Range("a50").End(xlUp))
rng.Select
If rng.Value <> "" Then
rng.Select
Set XH = CreateObject("Microsoft.XMLHTTP")
With XH
.Open "get", iurl & rng, False
.send
' On Error Resume Next
'±qYahoo¦r¨åºK¨ú²Ä¤@²Õ¤¤¤å½Ķ
If InStr(.responseText, "><h4>1.") > 0 Then rng.Offset(0, 2) = Trim(Split(Split(.responseText, "><h4>1.")(1), "<")(0))
'ºK¨úKKµ¼Ð
If InStr(.responseText, ">KK[") > 0 Then rng.Offset(0, 1) = "[" & Split(Split(.responseText, ">KK[")(1), "]")(0) & "]"
.Open "get", iurl2 & rng, False
.send
'±qDICT.TW ^º~¦r¨åÂ^¨ú¦r¸q
If InStr(.responseText, "</span><br /> ") > 0 Then rng.Offset(0, 3) = Split(Split(.responseText, "</span><br /> ")(1), "<")(0)
End With
End If
Next
End Sub |
|
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X
|
|
|
|
|
- ©«¤l
- 6
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 12
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN8
- ³nÅ骩¥»
- OFFICE2016
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2015-12-9
- ³Ì«áµn¿ý
- 2016-7-29
|
½Ð°Ý
§Ú·Qn¦Û¤v¨Ó¸Õ¸Õ¬Ý
³o¬qµ{¦¡½Xn¶K¦bEXCELªºþ¸Ì¤~¯à¨Ï¥Î©O¡H |
|
|
|
|
|
|