|
-
Jan 21st, 2004, 10:04 AM
#1
Thread Starter
New Member
Adding an HTML row using VBA
I am creating code that automatically populates an HTML page through the conents of the excel spreadsheet. I can get the table, but I am not sure on how to add more rows as needed. The code just keeps overwriting the previous entry.
<HTML><Head><Title>Sample Output</Title></Head>
<Body><Table Border=3>
<TR><TD>Sample Descrip.</TD><TD><a HREF="">Sample</a></TD><TD>03</TD><TD>05-SEP-2003</TD></TR>
</Table></Body></HTML>
any help?
-
Jan 26th, 2004, 09:26 AM
#2
Junior Member
If I'm understanding what you want correctly, I believe that you should be adding a new row simply by a new <TR> </tr> tag set with your <TD></TD> tag sets in between.
Thus it shoudl look something like this:
<html><head><title>Table Output</title></head>
<table Border=3>
<tr><td>Row1 Cell1</td>
<td>Row1 Cell2</td>
</tr>
<tr><td>Row2 Cell1</td>
<td>Row2 Cell2</td>
</tr>
</table>
</html>
HOpe this helps.
Josh Wise
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|