Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Google map when open for some place via macro from Excel, coming back to my present location

  • No replies
  • 0 have this problem
  • 29 views
more options

I am using Mozilla Firefox for accessing google map from Excel macro.

My Excel-VBA Macro goes like this:

spath1 = "C:\Program Files\Mozilla Firefox\firefox.exe" 'my browser sURL2 = Replace(Range("buildname2").Value, " ", "+") & "+" & range("village") & "+" & Range("taluka")

dTaskID = Shell(spath1 & " " & sURL2 , vbNormalFocus)

Till now, I was successfully using this link to go to directly to the building name under some village and district, i.e,. https://www.google.co.in/maps/place/Ruparel+Optima/@19.2019309,72.8256402,17z/data=!3m1!4b1!4m6!3m5!1s0x3be7b6c6790fefcb:0xa9004e1d6633c73a!8m2!3d19.2019309!4d72.8282151!16s%2Fg%2F11f4pc2x_m?entry=ttu

but since i changed my pc, i witness following error: On clicking this macro, I can see firefox shows expected link in address bar. But after 2-3 second it brings me back to my home location. Please guide me in this regard

I am using Mozilla Firefox for accessing google map from Excel macro. My Excel-VBA Macro goes like this: spath1 = "C:\Program Files\Mozilla Firefox\firefox.exe" 'my browser sURL2 = Replace(Range("buildname2").Value, " ", "+") & "+" & range("village") & "+" & Range("taluka") dTaskID = Shell(spath1 & " " & sURL2 , vbNormalFocus) Till now, I was successfully using this link to go to directly to the building name under some village and district, i.e,. https://www.google.co.in/maps/place/Ruparel+Optima/@19.2019309,72.8256402,17z/data=!3m1!4b1!4m6!3m5!1s0x3be7b6c6790fefcb:0xa9004e1d6633c73a!8m2!3d19.2019309!4d72.8282151!16s%2Fg%2F11f4pc2x_m?entry=ttu but since i changed my pc, i witness following error: On clicking this macro, I can see firefox shows expected link in address bar. But after 2-3 second it brings me back to my home location. Please guide me in this regard

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.