ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel.Application not defined (https://www.excelbanter.com/excel-programming/390821-excel-application-not-defined.html)

Premal

Excel.Application not defined
 
Hello,

I am trying to instantiate Excel.Application using

Dim oexcel As Excel.Application and it says that Excel.Applcation not
defined i have added Microsoft Excel object library as Reference.

If i use Din oexcel As Global.Excel.Applicatiopn then it works i dont know
why wont it work with just Excel.Application when i have added a refrence as
well.

Any help will be highly appreciated.

Thanks
Premal


All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com