GoogleMaps WebBrowser Help!

djfinker

New Member
Joined
Jun 8, 2011
Messages
17
Hi I'm a Beginner when it comes to VBA,

i'm Trying to link a Webbrowser to search for address's in my excel workbook,

I have inserted the Active Webrowser window and worked out the hyperlink creator,

I have created a Command button to run the formula,

but i'm having trouble linking the two functions,


In VBA< under the commang button


I have this


Private Sub CommandButton1_Click()
WebBrowser1.Navigate2 Sheet6.Range("C8").Value
End Sub

C8 is the location of the hyperlink.


It comes up with a Runtime Error 5, Can some one tell me why this may occur?

Thanks for your help in advance.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,216,361
Messages
6,130,180
Members
449,563
Latest member
Suz0718

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top