Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Creating multiple html tables for products

I am using Excel 2007.

I have 5 columns as illustrated below - (Table Description has no rows yet)

CTwt. Size Metal Jewelers cost Table Description

5 10 Tungsten 31
4 10.5 Tungsten 35
2 11 Tungsten 50
10 11.5 Tungsten 20
8 12 Tungsten 15
5 12.5 Tungsten 50
6 13 Tungsten 45

I need to create html table code for hundreds of products similar to above.

(The html table code below is from a different product than the 5 columned
format example above)

(This html table code is from a different product than the 5 columned
example above)

<DIV class="ProductDetailsTabs"
<table style="WIDTH: 350px; BORDER-COLLAPSE: collapse"
<tbody
<tr
<td class="SpecTableTitle" colspan="2"Product Details</td
</tr
<tr
<td class="SpecTableCell"Metal:</td
<td class="SpecTableCell"Polished Tungsten</td
</tr
<tr
<td class="SpecTableCell"Clasp:</td
<td class="SpecTableCell"Fancy Lobster</td
</tr
<tr
<td class="SpecTableCell"Length:</td
<td class="SpecTableCell"9.5 inches</td
</tr
</tbody
</table

How do I get this accomplished?

Thank you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Creating multiple html tables for products

This doesn't seem much like an Excel Question as it is an HTML question. Be
that as it may, the HTML for your table would look like this:

<table COMMENT: This starts the Table
<tr COMMENT: This starts the first row
<tdCTwt.</td COMMENT: This is the first column in the first row
<tdSize</td
<tdMetal</td
<tdJewelers cost</td
<tdTable Description</td
</tr
<tr
<td5</td
<td10</td
<tdTungsten</td
<td31</td
<td</td
</tr
....

This process is completed for each row. Be sure each row has 5 <td and
</td statements with the cell's content between.
End the code group with </table to close the table.

There are also settings you can include inside the tags (i.e. <table, <tr,
and <td) which can set the alignment of the text and the type of border on
the table. Doing a search on HTML Tables will no doubt yield many results.

Depending on what you're using to edit the HTML document, you may be able to
copy and paste the table from Excel into he document (i.e. if it is a WYSIWYG
editor like FrontPage) or you may be able to create a table in the editor and
just enter the information (again, it would have to be a WYSIWYG editor most
likely).

Allen.

"urlocaljeweler" wrote:

I am using Excel 2007.

I have 5 columns as illustrated below - (Table Description has no rows yet)

CTwt. Size Metal Jewelers cost Table Description

5 10 Tungsten 31
4 10.5 Tungsten 35
2 11 Tungsten 50
10 11.5 Tungsten 20
8 12 Tungsten 15
5 12.5 Tungsten 50
6 13 Tungsten 45

I need to create html table code for hundreds of products similar to above.

(The html table code below is from a different product than the 5 columned
format example above)

(This html table code is from a different product than the 5 columned
example above)

<DIV class="ProductDetailsTabs"
<table style="WIDTH: 350px; BORDER-COLLAPSE: collapse"
<tbody
<tr
<td class="SpecTableTitle" colspan="2"Product Details</td
</tr
<tr
<td class="SpecTableCell"Metal:</td
<td class="SpecTableCell"Polished Tungsten</td
</tr
<tr
<td class="SpecTableCell"Clasp:</td
<td class="SpecTableCell"Fancy Lobster</td
</tr
<tr
<td class="SpecTableCell"Length:</td
<td class="SpecTableCell"9.5 inches</td
</tr
</tbody
</table

How do I get this accomplished?

Thank you for your help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Creating multiple html tables for products

I saw your other post about splitting that 5th column into a table on it's
own. That can also be done in html. You can do it a couple ways. The
first, and probably easier but messier, way is to put a <table element as
the contents of the desired cell. Then you can have <tr for your rows
within that table and <td for the columns within the rows. i would STRONGLY
suggest the formatting of the HTML as i had below with successive tabs when
you open a new tag to help keep things organized. The second, a little more
pre-thought-out but more correct way, would involve using <tr rowspan=4 to
span multiple rows (for all cells in columns 1-4) and <td colspan=3 to span
multiple columns (which you would only need for the header row's column 5 if
all other column 5 cells are tables).

"Allen" wrote:

This doesn't seem much like an Excel Question as it is an HTML question. Be
that as it may, the HTML for your table would look like this:

<table COMMENT: This starts the Table
<tr COMMENT: This starts the first row
<tdCTwt.</td COMMENT: This is the first column in the first row
<tdSize</td
<tdMetal</td
<tdJewelers cost</td
<tdTable Description</td
</tr
<tr
<td5</td
<td10</td
<tdTungsten</td
<td31</td
<td</td
</tr
...

This process is completed for each row. Be sure each row has 5 <td and
</td statements with the cell's content between.
End the code group with </table to close the table.

There are also settings you can include inside the tags (i.e. <table, <tr,
and <td) which can set the alignment of the text and the type of border on
the table. Doing a search on HTML Tables will no doubt yield many results.

Depending on what you're using to edit the HTML document, you may be able to
copy and paste the table from Excel into he document (i.e. if it is a WYSIWYG
editor like FrontPage) or you may be able to create a table in the editor and
just enter the information (again, it would have to be a WYSIWYG editor most
likely).

Allen.

"urlocaljeweler" wrote:

I am using Excel 2007.

I have 5 columns as illustrated below - (Table Description has no rows yet)

CTwt. Size Metal Jewelers cost Table Description

5 10 Tungsten 31
4 10.5 Tungsten 35
2 11 Tungsten 50
10 11.5 Tungsten 20
8 12 Tungsten 15
5 12.5 Tungsten 50
6 13 Tungsten 45

I need to create html table code for hundreds of products similar to above.

(The html table code below is from a different product than the 5 columned
format example above)

(This html table code is from a different product than the 5 columned
example above)

<DIV class="ProductDetailsTabs"
<table style="WIDTH: 350px; BORDER-COLLAPSE: collapse"
<tbody
<tr
<td class="SpecTableTitle" colspan="2"Product Details</td
</tr
<tr
<td class="SpecTableCell"Metal:</td
<td class="SpecTableCell"Polished Tungsten</td
</tr
<tr
<td class="SpecTableCell"Clasp:</td
<td class="SpecTableCell"Fancy Lobster</td
</tr
<tr
<td class="SpecTableCell"Length:</td
<td class="SpecTableCell"9.5 inches</td
</tr
</tbody
</table

How do I get this accomplished?

Thank you for your help.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating multiple html tables for products urlocaljeweler New Users to Excel 0 December 9th 09 07:50 PM
Excel 2007 creating reports for diffrerent products one at a time Farhat Excel Discussion (Misc queries) 0 July 24th 08 09:33 PM
Creating Tables From Multiple Worksheets carl Excel Worksheet Functions 0 January 3rd 06 09:14 PM
Importing multiple html tables into XL? RedFox Excel Discussion (Misc queries) 2 April 26th 05 06:44 AM
Importing multiple html tables into XL? RedFox New Users to Excel 2 April 26th 05 06:44 AM


All times are GMT +1. The time now is 11:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"