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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top