Why Excel 2003 VBA program not working in Excel 2007?

J

James Heywood

Dear my colleagues,
I have a Excel 2003 VBA program. I don't know why it doesn't work in Excel
2007.
It always gave out a message "Can't find project or library" and highlighted
the function:
Private Sub ResultCol_BeforeContextMenu(ByVal x As Long, ByVal y As Long,
ByVal Menu As OWC10.ByRef, ByVal Cancel As OWC10.ByRef)
End Sub
Could you tell me how to solve this problem?
Thanks a lot.
 
G

Gary Keramidas

just a guess, but in vb, click tools/references and look for any listed as
missing. check the boxes and see if it will run.
 
J

Jim Rech

OWC10

Office Web Components are not part of Office 2007. MS has dropped them.

--
Jim
| Dear my colleagues,
| I have a Excel 2003 VBA program. I don't know why it doesn't work in Excel
| 2007.
| It always gave out a message "Can't find project or library" and
highlighted
| the function:
| Private Sub ResultCol_BeforeContextMenu(ByVal x As Long, ByVal y As Long,
| ByVal Menu As OWC10.ByRef, ByVal Cancel As OWC10.ByRef)
| End Sub
| Could you tell me how to solve this problem?
| Thanks a lot.
 

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

Top