Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

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

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom