Open Excel File.

  • Thread starter Thread starter Phoebe
  • Start date Start date
P

Phoebe

Hi, Good Day.

I'm trying to open an excel file using vb.net in vs.net. Below is what i
write but the coding cannot recognize the "ThisApplication".

Dim wb As Excel.Workbook = _
ThisApplication.Workbooks.Open("C:\YourPath\YourWorkbook.xls")

Can someone help?
Thanks in advanced.

rgds,
Phoebe.
 
Back
Top