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
|