ContentType Excelsheet Title

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rguarnieri

    ContentType Excelsheet Title

    Hi!, I'm using

    Response.Conten tType="applicat ion/vnd.ms-excel"

    to show an html table over excel sheet and I need to change the
    excelsheet title, does anyone know how to do that?, now it's shows me
    the name of the asp page.

    Thank you.

  • Bob Barrows [MVP]

    #2
    Re: ContentType Excelsheet Title

    rguarnieri wrote:
    Hi!, I'm using
    >
    Response.Conten tType="applicat ion/vnd.ms-excel"
    >
    to show an html table over excel sheet and I need to change the
    excelsheet title, does anyone know how to do that?, now it's shows me
    the name of the asp page.
    >
    Thank you.
    Create a test spreadsheet that does what you want. Convert it to html and
    inspect the generated html to see what you have to include in your file to
    make it do what you want.

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Comment

    • Anthony Jones

      #3
      Re: ContentType Excelsheet Title


      "rguarnieri " <ruben@hmstrate gies.comwrote in message
      news:1180709478 .291623.168860@ q66g2000hsg.goo glegroups.com.. .
      Hi!, I'm using
      >
      Response.Conten tType="applicat ion/vnd.ms-excel"
      >
      to show an html table over excel sheet and I need to change the
      excelsheet title, does anyone know how to do that?, now it's shows me
      the name of the asp page.
      >
      Thank you.
      >
      Response.AddHea der "Content-Disposition", "filename=mynam e.xls"



      Comment

      Working...