To convert a spreadsheet file into an HTML <table>, pass an Asset object as an argument to the sheetstotables(asset) Twig function.

{% set spreadsheet = craft.assets.kind('excel').one() %}

{{ sheetstotables(spreadsheet) }}

If the spreadsheet file contains multiple sheets, only the contents of the first sheet will be rendered as a table.

Supported file formats

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
103
Version
1.2.0
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
April 14, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs