Skip to content

Google-earth-kml-maker.v.1.3 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
simbas2005 opened this issue Nov 26, 2016 · 1 comment
Open

Google-earth-kml-maker.v.1.3 #1

simbas2005 opened this issue Nov 26, 2016 · 1 comment

Comments

@simbas2005
Copy link

Hi Amit

Thank you for your macro

1/Now your macro runs perfectly

If i click on one place mark, the balloon appear something like that:

Point A

Column 1 (bold): abcd (black)

Clolumn 2 (bold): dfgh (black)

Column 3 (bold): jjojo (black)

I want to modify like this

Point A

Column 1 (bold): abcd (blue)

Clolumn 2 (bold): dfgh (blue)

Column 3 (bold): jjojo (blue)

I have changed the code as follow:

If Me.TextBox10.Value <> "" Then

        For ii_ctr = 0 To ii - 1

            a.writeline ("<b>" & arr(ii_ctr) & "</b>: " & "<style=""color:blue>" & ActiveCell.Offset(0, ii_ctr) & "</style>" & "<br>")

        Next

    End If

(not successful)

2/ I want to copy the .kml file to my android phone (with GE installed), but it can’t be displayed.

Please help me.

Thank you.

@DataStrategist
Copy link
Owner

Hi Simba,

The problem is with the double quotes. When you're already doing things like "a" & "b" & "c" it's very hard to pass doublequotoes inside that... so what you have to do is write a DOUBLE doublequote. So, to fix the code, I think we need to just change this part:

"<style=""color:blue"">"

see if that works.

  1. I've never tried... but it's possible some features aren't supported? See this: https://support.google.com/earth/answer/2515639?hl=en

Once you get the KML perfectly working the way you like try again... and if it still doesn't work, maybe write on Stack overflow?

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants