View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Premal Premal is offline
external usenet poster
 
Posts: 2
Default 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