Html maker - testers required!

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
As some of you may be aware, I have been making an add-in to produce html output of selected data in Excel. The output is fairly consistent with that produced by Excel Jeanie as can be seen here:

http://www.mrexcel.com/forum/showpos...&postcount=241

the differences being:

1. the interface is a whole lot simpler
2. you can choose if you want to output all the formulas in selection or only some of them
3. the ouput colour-codes nesting levels in the formulas
4. it only does formulas and data (it doesn't report conditional formatting or data validation applied)
5. it comes as an .xla file rather than an .exe (so doesn't require Admin rights to install!)
6. the code is visible for anyone that wants to laugh (or cry) at it


The generated html should also be considerably simpler as much of the formatting and style elements are now held in a css file applied to the whole Board (Suat Ozgur has created a css class which I link to in the generated html).

It has been tested by me and Jon von der Heyden and feedback from Suat incorporated. What I need now is for some others to test and come back with any comments.

If you would like to see the file and perhaps test it, please Private Message me with your email address and I'll send you the .xla file and a .doc file with guidance notes:

The .xla file is approx 100Kb in size, so it isn't very big. It will work in all versions of Excel since xl2000, although I will be developing a specific xl2007 ribbon interface next.

Thanks!
 
Last edited:
html is disbled in posts in this forum :-)

A new build has been dispatched with code correction as suggested by Jeff. Now, if the horizontal alignment of the cell has not been set, the code checks to see if the cell contains a numeric value - if so, it will right-align the cell contents.
 
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
html disabled then makes sense to why it didn't show...

i posted another test and comments in that testing thread...

thanks again...
 
Upvote 0
That's interesting Sandeep - I have an idea why that may be (it isn't curreny formatting per se, it is the fact the format probably has "* " element in it. When I then use the Text property to return the information from the cell, it converts these values to proper spaces which then get replaced with non-breaking spaces which in turn causes problems. I think I can correct this, but it may take me a couple of days (work has gone a bit crazy keeping me away from the Board & Excel). Thanks for this though - very helpful :-)
 
Upvote 0
Jeff

You don't have any actual names in your formulas as you are indirectly referencing them - the code only identifies names to include by looking at the formula string (ie =INDEX(INDIRECT(A1),...) - all it sees in your formulas is the INDIRECT(A1) - it (or I!) wasn't smart enough to determine that this refers to a ranged name.
 
Upvote 0
wasn't sure if it looked for named ranges in the range of cells selected...but since it's based on the formulas then i understand why they didn't show...thanks
 
Upvote 0
Hi,

When I right-click, I see the three normal options for the add-in. But I see them repeating many, many times on my work computer.

I tried on my home computer and it seems like each time I enable (after disabling) the add-in, it adds another occurrence of the three options. How can I get rid of all the extras?

Thanks,
Tai

Edit: also, are the new builds posted somewhere? Thanks.

A new build has been dispatched
 
Last edited:
Upvote 0
Ah have I not been sending you the new builds? I meant to include everyone but I may have missed you :-(

The latest version is HtmlMaker20090730a.xla and it should deal with the issue you describe. Please could you give me your email address via PM and I'll send it out to you.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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
Back
Top