# HTML -\> Excel

**URL:** <https://forum.kirupa.com/t/html-excel/141519>\
**Category:** Uncategorized\
**Created:** [March 20, 2005, 11:59pm UTC](https://forum.kirupa.com/t/html-excel/141519 "2005-03-20T23:59:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RushScripting](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RushScripting](https://forum.kirupa.com/u/RushScripting)\
**Post date:** [March 20, 2005, 11:59pm UTC](https://forum.kirupa.com/t/html-excel/141519/1 "2005-03-20T23:59:47Z")

</div>

Ok here is the deal. I have an html file that needs to be opened with Excel when the file is accessed.

I can do this when i use php using the header() function.

I need to do the same thing but with html alone. So I tried using a meta tag.

```auto

<meta http-equiv='Content-Type: application/vnd.ms-excel'>

```

This doesn’t work. I was wondering if there is a different way or even a CORRECT way of doing this. Thanks 😃
