Per Nergård (MVP)
Dec 20, 2015
  3009
(1 votes)

Generate HTML table from excel file

How hard should it be to parse an excel file and and present it as a html table? One would think that since Excel is so popular it would be super easy but in my experience it's not.

The code im going to link to isn't my own but since it actually works and handles merged cells I thought I would share it anyway.

The method uses the EPPlusl package for parsing the excel-file and generates a table.

You can get the code over at GitHub

Dec 20, 2015

Comments

Please login to comment.
Latest blogs
Introducing the Optimizely MCP Server: AI That Speaks Commerce Part-II

— Part 2 · Build Update · B2B Commerce From conversation to completed transaction. Part 1 gave AI the ability to speak commerce. The latest release...

Vaibhav | May 29, 2026

Finding Thomas Part 1 - The Observation Post

Meet Thomas Thomas is the returning visitor who has been to your site forty times but has never filled out a form. He opens every newsletter but...

Ritu Madan | May 28, 2026

Extending the Optimizely 11 Link Validation job with custom exclude patterns

This might be common knowledge but I have never done this in all my years working with Optimizely solutions. On a customer I noticed that the link...

Per Nergård (MVP) | May 28, 2026

Optimizely SaaS Visual Glossary

Recently I came across Optimizely SaaS CMS Glossary: https://docs.developers.optimizely.com/content-management-system/v1.0.0-CMS-SaaS/docs/glossary...

Kiran Patil | May 28, 2026 |