Hi all,
I've got some code to write a KML file which plots a line bearing based on user GPS location. The KML file name is timestamped and saved to a particular folder, as you'd expect.
In order for Google Earth to read all the placemarks I'm looking for code to go through each KML file in my folder and merge all the placemarks, effectively creating a master.kml file.
Can this be done in VBA? I'm thinking its a case of opening each .kml file in notepad, copying the text within the <placemark></placemark> and combining that into a master file which is network linked in GE.
Cheers
I've got some code to write a KML file which plots a line bearing based on user GPS location. The KML file name is timestamped and saved to a particular folder, as you'd expect.
In order for Google Earth to read all the placemarks I'm looking for code to go through each KML file in my folder and merge all the placemarks, effectively creating a master.kml file.
Can this be done in VBA? I'm thinking its a case of opening each .kml file in notepad, copying the text within the <placemark></placemark> and combining that into a master file which is network linked in GE.
Cheers