[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Problem navigating html page from Excel 2013 shared addin

Posted on 2014-02-23
4
Medium Priority
?
318 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

649 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