Solved

Problem navigating html page from Excel 2013 shared addin

Posted on 2014-02-23
4
307 Views
Last Modified: 2014-03-25
Hi,

We have a .net shared addin which creates toolbar in excel. When clicked on the buttons, we navigate a html page which has javascript embedded in it. We use a windows form with web browser control to navigate to html pages. These html pages have active x code. Till now we were supporting upto Office 2010 where it is working fine. When we tested it in Office 2013, we found that toolbar actions are getting hanged.

As we analyzed we found that the javascript is not executed as navigation of html is going to Document completed event immediately. We believe this is because we are getting security warning "To help protect your security, your web browser has restricted this file from showing active content that could access your computer. Click here for options...".  We tried IE and Excel settings to enable the Active X content, but it didn't work.
How to navigate to html page (with javascript and Active X content) from web browser control in excel 2013 without the content getting blocked by the web browser control?

Thanks in advance.
0
Comment
Question by:pkoivula
  • 3
4 Comments
 
LVL 19

Expert Comment

by:regmigrant
ID: 39909820
try making the document 'trusted' in Excel using the guide in this link
http://office.microsoft.com/en-gb/excel-help/trusted-documents-HA010354384.aspx

and add the website URL to  'trusted sites' under Internet Options, Security Tab.
0
 

Accepted Solution

by:
pkoivula earned 0 total points
ID: 39944490
We tried this option, but it didn't work.
We could resolve the issue by using Mark of the web in the local htm files. Please find the below link for more details:

http://msdn.microsoft.com/en-us/library/ms537628(v=vs.85).aspx
0
 

Author Comment

by:pkoivula
ID: 39944494
The issue got resolved by using Mark of the web in the local htm files.
0
 

Author Closing Comment

by:pkoivula
ID: 39952685
Excel 2013 was restricting the active content of the htm files. Hence by adding MOTW, it allowed the active content to run in htm by using the settings from Internet zone.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question