S
Sean Murdoch
Hi There,
I have written some code and want to write all the email
address into a text file. What is the command to retrieve
the email address ?
Set myolApp = CreateObject("Outlook.Application")
Set myNameSpace = myolApp.GetNamespace("MAPI")
Set myfolder = myNameSpace.GetDefaultFolder
(olFolderInbox)
Set theexplorer = myolApp.ActiveExplorer
Set mySelectedItems = theexplorer.Selection
For Each emails In mySelectedItems
eml = emails. <---- I want to assign the email
Next address to eml.
thanks
Sean
I have written some code and want to write all the email
address into a text file. What is the command to retrieve
the email address ?
Set myolApp = CreateObject("Outlook.Application")
Set myNameSpace = myolApp.GetNamespace("MAPI")
Set myfolder = myNameSpace.GetDefaultFolder
(olFolderInbox)
Set theexplorer = myolApp.ActiveExplorer
Set mySelectedItems = theexplorer.Selection
For Each emails In mySelectedItems
eml = emails. <---- I want to assign the email
Next address to eml.
thanks
Sean