sangamesh k

sangamesh k

  • NA
  • 1
  • 0

Export to excel

Dec 7 2009 6:50 AM

 Hello,
        This is sangamesh, After adding the reference called "microsoft excel 11. object" for export to excel, 
Imports System
Imports Microsoft.VisualBasic
Imports Mongoose.IDO.Protocol
Imports Mongoose.Scripting
Imports System.Runtime.InteropServices
Imports Microsoft.Office.Interop.Excel

  Dim XlApp As New Microsoft.Office.Interop.Excel.Application
  Dim xlbook As New Microsoft.Office.Interop.Excel.Workbook
  Dim xlSheet As New Microsoft.Office.Interop.Excel.Worksheet
 
When i compile the program above 3 lines showing error. I installed microsoft office 2003 also.  
Please help me out.
 
 
 
 
 

Answers (3)