|
-
Jan 7th, 2004, 05:52 AM
#1
Thread Starter
New Member
Error Using Office
I add reference office.dll and Microsoft Office Excel Component to my project and use :
---------------------------------------
Dim App As Excel.Application, BarName as String
...
Dim Bar As Microsoft.Office.Core.CommandBar = App.CommandBars(BarName)
...
----------------------------------------
Than recieve this error in my task board for the second code line:
+ 'Reference required to assembly 'Interop.Microsoft.Office.Core' containing the type 'Microsoft.Office.Core.CommandBars'. Add one to your project.'
What can I do in order to solve this problem?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|