Em đọc bài viết trong web (http://www.blueclaw-db.com/vba_google_earth.htm) này và làm theo nhưng mắc 1 số vấn đề :
Code không hiểu:
'write out the beginning records of the XML file
f.Write "<kml xmlns=" & Chr(34) & "http://earth.google.com/kml/2.0" & Chr(34) & ">" & vbCrLf
f.Write "<Document>" & vbCrLf
' Now loop through each record in the recordset and output the coordinates and
' annotation data
Do While Not rst.EOF
f.Write " <Placemark><name>" & rst!PropertyIDX & ":" & rst!Property_Name & "</name><Point><coordinates>" & rst!Longitude & "," & rst!Latitude & "</coordinates></Point></Placemark>" & vbCrLf
rst.MoveNext
Loop
-------------
Mong các bác nói rõ cho em các biến để tác động được vào file kml, kmz . Em chưa hiểu các chỗ bôi đỏ trên


