¥»©«³Ì«á¥Ñ vpower ©ó 2010-5-31 23:50 ½s¿è
¦^´_ vpower
³oÓ°ÝÃDÄpµ²¦b©ó¤å¦r½s½XÂà´«
¥H¼Ó¥D´£¨Ñ¹Ï¤ù¬°¨Ò
·j´MÃöÁä¦r¬O"¤k"
ºô§}¦C°Ñ¼Æ ...
Hsieh µoªí©ó 2010-5-31 09:23
²{¦³ªºVBA: http://naturefruit.myweb.hinet.net/map.xls
¨Ï¥Î»¡©ú:
ÂI2¤UBÄæ.¦p A¦a ©Î ¥x¥_¥«©¾§µªF¸ô1¬q20¸¹
¥L³£·|¥t¥~¶} http://maps.google.com.tw/ ºô¶
ºô¶¤ºªº·j´M²Ä¤@®æ´N·|©ñBÄæ¦ì.²Ä¤G®æ´N·|©ñCÄæ
§Ú¤£¾å±o¤j¤j¯à¤£¯à§Q¥Îµ{¦¡½X¦p¤U:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column = 2 And Target.Value <> "" Then
If Target.Range("B1") <> "" Then
Cancel = True
With CreateObject("InternetExplorer.Application")
.Navigate "http://maps.google.com.tw/"
Do While .Busy Or .ReadyState <> 4
DoEvents
Loop
.Document.all("d_d").innerText = Target
.Document.all("d_daddr").innerText = Target.Range("B1")
.Document.all("d_sub").Click
.Visible = True
End With
End If
End If
End Sub
¹ï©óµ{¦¡½X§Ú¤]³Â·Ð¤H®a¼gªº.¤]¨Ã«D«Ü¤F¸Ñ.¦n¹³©MPD961A¤j¤jÁ¿ªº¤@¼Ë.n¬d¥Lªºì¤å.
·j´MÃöÁä¦r¬O"¤k"
´N¦b§Ú¼Ð©úC1ªº³¡¤À.
¯à¤£¯à³Â·ÐPD961A¤j¤j¸Ô²ÓÁ¿¸Ñ¤@¤U²{¦³ªºVBAªºµ{¦¡½X.
§Ú°ß¤@¤F¸Ñªº´NIf Target.Column = 2 And Target.Value <> "" Then
¥Lªº2¥NªíBÄæ.