search | site map

Scott Granneman

panorama-082.jpg
  • Writing
    • Books
    • SecurityFocus
    • Linux Magazine
    • Others
    • Swings & Misses
  • Presentations
    • Interviews
    • Ladue Chapel
  • Teaching
    • Current Courses
    • Student Evaluations
    • Washington University
    • Webster University
    • St. Louis Community College
    • Archives
  • Web Development
    • Becoming a Web Developer
    • Coding
    • Programming
    • Editors
    • Web Browsers
    • Domains
    • Hosting
    • Graphics & Multimedia
    • Content
  • Tech Info
    • Background
    • Tools
    • Intellectual Property
    • Security
    • Email
    • Networking
    • Blogs, Podcasts, RSS
    • Search
    • Linux
    • Windows
    • Education
  • Personal
    • Work
    • Movies
    • Music
    • Reading
    • Poetry
    • Prose
    • Photos
    • Journals
    • Commonplace Book
    • Our Home
    • Opinions & Editorials
Home > Web Development > Coding > Convert Excel to Tables

Convert Excel to Web Tables

Note: Since I wrote this page many years ago, I found a website that will do the same thing if you don't have Dreamweaver. Check out Mr. Data Converter, which converts Excel data into several different formats, including HTML, JSON, MySQL, & XML. Best of all, it's open source, so you can run it on your own server if you'd like!

You've got an Excel spreadsheet, and you want it to become a table in a Web page. How do you do it?

Whatever you do, do NOT export from Excel to HTML—the 'HTML' it produces is a godawful mess. In fact, it only works with Internet Explorer on Windows. There's no technological reason for this; during the antitrust trial, Microsoft executives testified that they made this decision in order to further force people to use IE instead of alternative browsers.

There's a much better way to do this.

1. Save the Excel file as a CSV (comma-delimited) file (or tab-delimited—whatever floats your boat). Excel will complain that you're going to lose formatting. Go ahead and let it know that you are a human with a brain, and yes, you really want to do this.

2. Open Dreamweaver & go to the File menu > Import > Import Tabular Data.

3. Follow the instructions in the dialog box. Hit OK.

You're done. Your Excel spreadsheet is now a table on a Web page. And, best of all, your HTML is not a godawful, proprietary mess.

Contact

Email scott@granneman.com
Voice 314-780-0489
Address
39 Summit Place
St. Louis, MO 63119
United States

Work

For work info, see WebSanity.

All content, unless under a Creative Commons license, is © 1997-2011 Scott Granneman.

(Take a look around—a lot of content is licensed under a Creative Commons license, which gives YOU a lot of freedom to reuse my work.)

facebook_32.png Facebook   twitter_32.png Twitter
linkedin_32.png LinkedIn   friendfeed_32.png FriendFeed
flickr_32.png Flickr   lastfm_32.png Last.fm
youtube_32.png YouTube   rss_32.png RSS