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:

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Last edited:
Upvote 0
Jeff

Not sure why this is happening to you (I can't seem to recreate). I'm going to send you out the latest version which uses modified code for generating the grid.

Richard
 
Upvote 0
Jeff

Not sure why this is happening to you (I can't seem to recreate). I'm going to send you out the latest version which uses modified code for generating the grid.

Richard

that seems to have fixed it for me...thanks...
 
Last edited:
Upvote 0
Richard...installed the latest beta...now getting TYPE MISMATCH on this line in the Generate_Grid SUB...

Code:
ReDim vGrid(1 To UBound(vRows, 1) + 1, 1 To UBound(vColumns, 1) + 1)

NOTE: seems to work most of the time but getting that error selecting this set of data...

http://www.mrexcel.com/forum/showthread.php?t=387506&page=31
see post 306

which was originated from this thread
http://www.mrexcel.com/forum/showthread.php?t=400792&page=2


Jeff

Not sure why this is happening to you (I can't seem to recreate). I'm going to send you out the latest version which uses modified code for generating the grid.

Richard


I have the 05 July version, the problem Jeff described occurs when I try to generate HTML for a single row or single column, could you send me the latest version?
 
Upvote 0
1. Is an interesting idea but I'm worried it might confuse some newbie users that the output doesn't exactly match what is on the sheet. It could potentially be added as an option though

2. I'm inclined to ignore merged cells and not make any special provision for them

3. Excel version is a simple modification, OS is a bit harder and to the best of my knowledge requires API calls. I'll place the Excel version in the next release, OS will have to wait (and I may not try to include this).

4. Currently only a 'standard' formula should be output (ie using , and not ; and, I believe, using standard English for the function names (not 100% sure about this as I don't have a non-English version to test with)). It would be possible to include the option to output the FormulaLocal instead (potentially could include a switch for FormulaR1C1 if desired too).
few more,

  1. could you make the tool to convert date content to a standard format such as "dd-mmm-yy", I think this could be done in the cell content analysis part (ie) if a cell's format is date then convert the format to standard (http://www.mrexcel.com/forum/showpost.php?p=1987473&postcount=290)
  2. the tool seperates any merged cell and shows the content in the first cell only (http://www.mrexcel.com/forum/showpost.php?p=1987474&postcount=291)
  3. can you include the version of Excel and the OS, as a tag line in the output
  4. just to suggest, can you convert a formulae to standard version (ie) replacing the ";" (used in some non-english verisons) with ","
 
Upvote 0
Dates are left aligned by default. Is it possible for the html generator to mimic excel... i.e. right align proper dates and left align text that looks like date??

http://www.mrexcel.com/forum/showpost.php?p=1996351&postcount=9http://www.mrexcel.com/forum/showpost.php?p=1996351&postcount=9

Or Richard would it make more sense to read the alignment of the cell and output it to the html? then that way the output would appear as your actual sheet alignments?
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,195
Members
449,072
Latest member
DW Draft

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