Hi,
I've been trying to write a subroutine that will call an Excel macro. The problem that I'm having is that the following line of code:
returns an Object Required Error. I searched for an answer and found that most solved this problem by Clicking on Tools Reference and Adding a Reference to Excel.Dim eApp As Excel.Application
I have looked through the list of references many times and can not find any mention of Excel. Everything else seems to be on the list, Access, OneNote, Power Point, but not Excel.
How do I get Outlook to reference Excel?
Last edited by Extradimensional; 09-14-2011 at 11:56 PM. Reason: Solved
I figured it out!
I went into my Excel VBA Editor and noticed that it did have an Excel Object in the references. I copied the path from that object (C:\Program Files (x86)\Microsoft Office\Office12\EXCEL.EXE), and added it to the reference in outlook manually using the browse button. And now it works!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks