controlling an excel workbook from an html

lalbatros

Well-known Member
Joined
Sep 5, 2007
Messages
659
Am I dreaming?
Would it be possible to control an excel workbook from an html file?

My aim is to provide a simple interactive tutorial or help for an excel application.
I simply want to activate some sheets, or to select some range, when the reader clicks some hyperlink on an html page.

Ideally, I would preffer to have the help started from the workbook, not the opposite.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

lalbatros

Well-known Member
Joined
Sep 5, 2007
Messages
659
I browsed a little bit and can be more precise now.
It is all about using VBScript on an html and communicating with excel.

Where I need solutions or ideas is:

- how to launch the html from excel and passing a reference to the activeWorkbook at the same time
- how to use VBscript for an hyperlink (not an excel question)

With these two solutions, I could go on.
 

lalbatros

Well-known Member
Joined
Sep 5, 2007
Messages
659
Hi,

As it happens often, I am not the first on the topic.
Here I found something close to what I am working on:

http://www.dailydoseofexcel.com/archives/2004/10/21/creating-help-files/

My problem is (was) that I wanted this help system to interact with the excel workbook.
Actually, I could do it using the getObjet method in vbscript within the html.
However, there was an obstacle: getObject isn't allowed for security.
Therefore, I created a tiny activex to bypass this limitation, and it works.

One problem still remains.
On first hypelink-click a safety popup appears: "An activex control on this page might be unsafe ...".

This really a bad message when a user browse an help file.

So my question changes now: how can I get some freedom and create an help file that interacts smoothly with my workbook?
Do I really need to go for the standard help system?
Does the standard help system not have the same limitation?
Should I get another component that will spare my time on this stupid question?

At least I have one advantage, I will be able to install anything onmy user's machines.
But I will not be allowed to change any setting.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,117
Messages
5,640,207
Members
417,131
Latest member
Seanr19871

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