Are user subs and functions in the microsoft office object model hierarchy?

5 pts.
Tags:
Excel 2007
Microsoft Outlook 2007
object model
Office 2007
I'm an experienced Excel VBA programmer, who is trying to write a macro in Excel that uses functions and subs in Outlook.  I've done some searching and found that the standard answer looks something like: <code>     objApp = CreateObject("Outlook.Application")     call objApp.UserSubName(argument1, argument2) </code> where UserSubName is the name of the sub in Outlook.  I've seen several minor variations on this, and in the comments after each one, there is usually at least one poster who writes "This didn't work for me."  I'm trying to understand the problem better, so while I'll happily take an answer to why this isn't working, the real question I'm asking is: Is a user-written sub or function placed in the object model hierarchy?  In other words, can I "drill down" to the sub or function with "Application.something.somethingelse.UserSubName"?  Any feedback on this would be appreciated!

Software/Hardware used:
Microsoft Office 2007

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following