I want to make the calculator part of an existing web page?
If you ever need to insert a spreadsheet on an existing page in your web, just follow the steps below.
- Create the spreadsheet in Excel.
- Convert the spreadsheet to a web page using SpreadsheetConverter.
- Open the resulting web page in your html editor.
- Using your html editor, also open the existing page where the spreadsheet is to be inserted.
- In the <head> … </head> section of the SpreadsheetConverter file, locate the section beginning with <!– Header start –> and ending with <!– Header end –> and copy it (including the leading and trailing comment) to the end of the <head> … </head> section of the existing page.
- In the <body> … </body> section of the SpreadsheetConverter file, locate the section beginning with <!– Body start –> and ending with <!– Body end –> and copy it to where you want the spreadsheet to appear in the <body> … </body> section of the existing page.
- (optional) Copy the onload-event from <body into your <body-tag. Typically the onload-event looks like this:
<body onload=”initial_update();document.formc.pA1A.focus();”>
It initializes the form and places the cursor at the first field.
Is there a way to select the “charset” to none insted of charset=UTF-8.
There is no simple solution, however this should work:
Let SpreadsheetConverter generate an UTF-8 file and then convert it into a suitable encoding.
One such tool is iconv, which is free.
Download iconv.exe and execute
iconv.exe -t windows-1252 -f utf-8 old.htm > new.htm
and then change
the row
<meta content=”text/html;charset=utf-8″ http-equiv=”Content-Type”>
to
<meta content=”text/html;charset=windows-1252″ http-equiv=”Content-Type”>
—
How to download and install iconv:
Download the file called
libiconv-1.8.0-2003.02.01-1.exe
and
gettext-0.11.5-2003.02.01-1.exe
from
http://www.mingw.org/download.shtml
and install them into the same directory, for example c:iconv
In the bin dir of the installation, i.e. c:iconvbin you find iconv.exe (and some dlls it needs).