• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Compile error when running macro from 2007

Hi Experts

Here is the macro originally created with link:- http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_27990107.html

The problem I am having is the macro us not working in 2007
Getting compile error "User-defined type not defined"

Public sub SaveAttachments ()

Dim objOL as outlook.Application

How do you correct / fix this???
0
route217
Asked:
route217
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you have to add the microsoft outlook in the project references.
0
 
route217Author Commented:
Ok makes sense....
Thanks for feedback..
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now