Link to home
Start Free TrialLog in
Avatar of Millkind
MillkindFlag for Afghanistan

asked on

Display Excel in Web Browser

The code here should load my excel in web browser in form.  

WebBrowser1.Navigate(System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) & "\testABC.xlsx")

Open in new window


However it asks if i want to save open or cancel.  If i open it opens it into xcel.  I want it just to load into the webbrowser with no alerts.  It works fine with a pdf file.
ASKER CERTIFIED SOLUTION
Avatar of Rory Clerkin
Rory Clerkin
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Millkind

ASKER

saved as xps worked great.  Thanks for the explanation too.