|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
So, I've added some referencing stuff but basically it just dims a variable and the sets that to Outlook. How does the vba then know that it can access Outlook. What else do I have to do? Where does I use ref?
Dim ref As Reference Set ref = References!Outlook Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookRecip As Outlook.Recipient Dim objOutlookAttach As Outlook.Attachment Thanks! |
|
#2
|
|||
|
|||
|
You should keep posts about your question in one topic only it becomes quite confusing when there are multiple topics on the same question.
www.slipstick.com is a good site for outlook stuff. I don't code for outlook myself. You set a reference from the VB Editor Tools menu, References, not from your code. Read the online help or look at www.mvps.org for more info.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Automatic Emailig - for Doug G |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|