How can i see an internet page within an excel tab?

yomero

Active Member
Joined
May 14, 2008
Messages
257
Is this possible?
How can i see an internet page within an excel tab?
 

Some videos you may like

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

John_w

MrExcel MVP
Joined
Oct 15, 2007
Messages
6,609
Put a Microsoft Web Browser control on the sheet. Navigate to required web page using:
Code:
Private Sub CommandButton1_Click()
    WebBrowser1.Navigate "http://www.mrexcel.com"
End Sub
 

yomero

Active Member
Joined
May 14, 2008
Messages
257
Put a Microsoft Web Browser control on the sheet. Navigate to required web page using:
Code:
Private Sub CommandButton1_Click()
    WebBrowser1.Navigate "http://www.mrexcel.com"
End Sub

Thx!
I am having an issue, when i click on it, in any link, or even in any part within the web control, the print pop message appears...how can i avoid this, and why is it showing????
 

John_w

MrExcel MVP
Joined
Oct 15, 2007
Messages
6,609
I have the same problem (Windows XP SP3, IE8, Excel 2003 SP3). Click on a link and the Print dialogue appears. Click Cancel and IE navigates to the web page. It seems that IE/Excel is using 'Print Target' for the default action of clicking on a link, instead of 'Open'. If you right-click on a link these are amongst the options in the context menu. No idea why it happens or what the proper fix is, but a workaround is:
Code:
Private Sub Workbook_BeforePrint(Cancel As Boolean)
    If ActiveSheet.Name = "Sheet1" Then Cancel = True
End Sub
where Sheet1 is the name of the sheet containing the web browser.

The problem doesn't occur with a Web Browser control embedded in a Word document, so it looks like a bug with IE/Excel interaction.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,483
Messages
5,596,405
Members
414,064
Latest member
Duncthegreat

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
Top