lifeson
08-28-2009, 01:36 AM
Hi folks
I am trying to create a large number of HTML files using data from a spreadsheet
The originl source.HTML file is this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Component Name</TITLE>
</HEAD>
<BODY>
<h1>Component Name</h1>
<img src="filename.gif" width="645" height="645">
</BODY>
</HTML>
I want to change the elements in red using the data from the spreadsheet where component name is in column A and the filename is in column B and then save as a simple component.html file
I can create the HTML string but how do I save the string as just an html file (not an excel html file)
I am trying to create a large number of HTML files using data from a spreadsheet
The originl source.HTML file is this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Component Name</TITLE>
</HEAD>
<BODY>
<h1>Component Name</h1>
<img src="filename.gif" width="645" height="645">
</BODY>
</HTML>
I want to change the elements in red using the data from the spreadsheet where component name is in column A and the filename is in column B and then save as a simple component.html file
I can create the HTML string but how do I save the string as just an html file (not an excel html file)