Take the community feedback survey now.

Per Nergård (MVP)
Dec 20, 2015
  2793
(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
Optimizely CMS - Learning by Doing: EP06 - Create Header, Footer, Menu & Component/View for Blocks

  Episode 6  is Live!! The latest installment of my  Learning by Doing: Build Series  on  Optimizely CMS 12  is now available on YouTube! This vide...

Ratish | Nov 4, 2025 |

Going Headless: 3 Ways to Store Custom Data in Optimizely Graph

Welcome to another installment of my  Going Headless  series. Previously, we covered: Going Headless: Making the Right Architectural Choices Going...

Michał Mitas | Nov 3, 2025

A day in the life of an Optimizely OMVP - What's New in Optimizely CMS: A Comprehensive Recap of 2025 Updates

Hello and welcome to another instalment of a day in the life of an Optimizely OMVP. On the back of the presentation I gave in the October 2025 happ...

Graham Carr | Nov 3, 2025

Optimizely CMS Mixed Auth - Okta + ASP.NET Identity

Configuring mixed authentication and authorization in Optimizely CMS using Okta and ASP.NET Identity.

Damian Smutek | Oct 27, 2025 |