| | |
Add a name in the TO: address with code
![]() |
•
•
Join Date: Jan 2005
Posts: 23
Reputation:
Solved Threads: 0
The form is a MS Outlook form. I have attached the MS Outlook where I am requesting the name of the Dept Manager. Then I want to see if I can add it to the TO: line at the top.
Sub Update30()
Dim recip
Set recip = Item.Recipients0.Add (Item.userproperties.Find("Deptman").Value)
recip.type = olTo
End Sub
If I wanted to use Global Address List instead of Recipents what is the "code" for it
Sub Update30()
Dim recip
Set recip = Item.Recipients0.Add (Item.userproperties.Find("Deptman").Value)
recip.type = olTo
End Sub
If I wanted to use Global Address List instead of Recipents what is the "code" for it
Hmn.... I'm hoping I'm not off on a limb here, but check this URL:
http://www.microsoft.com/exceldev/articles/bulkmail.htm
http://www.microsoft.com/exceldev/articles/bulkmail.htm
![]() |
Similar Threads
- VB6 - Look up email address from outlook address book? (Visual Basic 4 / 5 / 6)
- wrong output , but i am sure that code is correct (Assembly)
- Address Book (C)
- is this code Right and why (Assembly)
- Edit flash? (Graphics and Multimedia)
- pointer to some code (C++)
- Plug and play code 10 problems (Troubleshooting Dead Machines)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: checkboxes on continuous forms
- Next Thread: Access and VB
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






