Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

html tables help please

Status
Not open for further replies.
Joined
Aug 22, 2006
Posts
4,203
Reaction score
21
Anyone know a quick way of converting a table in excel to html. The table is 200x5 so i dont really want to have to type it all out again.

Also, is there a quick way of extracting a hyperlink from a word in one cell and getting the hyperlink to show in full in a separate cell?
 
Anyone know a quick way of converting a table in excel to html. The table is 200x5 so i dont really want to have to type it all out again.

Would suggest two options for the above:

1 - save the excel table as HTML then trim as needed.
2 - select > cut > open word/frontpage and paste in , then save as html.

Each will give you a microsoft mess of HTML but table form that can be cleaned up by hand or 'remove MS crap' option in dreamweaver et al.
 
Open a good text editor - one that supports regex search and replace.

Copy and paste the content from Excel - it should emerge as tab separated variables with one row per line.

Search and replace:
Code:
\t (tab) for </td><td>
Code:
^ for <tr><td>
Code:
$ for </td></tr>

Then top and tail as required.


If I had to do it more than once I'd write a perl script which automated the above steps.
 
Status
Not open for further replies.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

Latest Comments

Upcoming events

New Threads

Domain Forum Friends

Lastest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom