Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Printing Page results in excel

Printing Page results in excel

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestionlearning
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MeterMan
    wrote on last edited by
    #1

    I know in vb window forms you can call excel.application to pass information to workbooks and print it and so on. Is there any way to do this with webpages? What I'm trying to accomplish is the following. Make a page called expense reports where my user can enter in all the data needed for his expense, then he has the option to print via a button and instead of using the webbrowser print it takes and opens up excel on the client side with the values passed to it. Any help on this would be great or a link to read up on how to do this. or can it even be done? Win32newb "If I wrote a book like I code. It would be one page thick and contain only one word (DUH!)"

    A 1 Reply Last reply
    0
    • M MeterMan

      I know in vb window forms you can call excel.application to pass information to workbooks and print it and so on. Is there any way to do this with webpages? What I'm trying to accomplish is the following. Make a page called expense reports where my user can enter in all the data needed for his expense, then he has the option to print via a button and instead of using the webbrowser print it takes and opens up excel on the client side with the values passed to it. Any help on this would be great or a link to read up on how to do this. or can it even be done? Win32newb "If I wrote a book like I code. It would be one page thick and contain only one word (DUH!)"

      A Offline
      A Offline
      Andy Brummer
      wrote on last edited by
      #2

      Check out this example from msdn : http://support.microsoft.com/default.aspx?scid=kb;en-us;317719[^]


      I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups