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. Open an excel file in the host

Open an excel file in the host

Scheduled Pinned Locked Moved ASP.NET
helpcomsysadmin
1 Posts 1 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.
  • A Offline
    A Offline
    Assaf82
    wrote on last edited by
    #1

    Hello I put my application in the server in the application the user can export some data to an excel file my problem is that the excel file don't open on the client and it will just open the excel in the task manager in server Please can someone help me """"" On Error GoTo errprocess Dim objSheet As Microsoft.Office.Interop.Excel.Worksheet Dim wb As Microsoft.Office.Interop.Excel.Workbook wb = New Excel.Application().Workbooks.Add(path) wb.Application.Visible = True objSheet = wb.ActiveSheet objSheet.Cells(11, 2) = "ttt" objSheet.Cells(13, 2) = "ggg" objSheet.Cells(14, 2) = "kkk" objSheet.Cells(15, 2) = "eee" objSheet.Cells(16, 2) = "rrr" objSheet.Cells(14, 4) = "yyy" objSheet.Cells(12, 4) = "bbb" objSheet.Cells(17, 4) = "ccc" '''''' objSheet.Columns.AutoFit() Exit Sub errprocess: ' Response.Write(Err.Description & " " & Err.Number & " " & Err.Source) Response.End() """""" Thanks in advance Assaf

    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