Either select items in group or return group name

  • Thread starter Thread starter charlesmarshall
  • Start date Start date
C

charlesmarshall

I'm trying to create a macro to automates some emailing processes.

If you change the Contact current view to the By Category view, you'l
see that the categories are listed and can be collapsed or expanded.
If I select a Category, how do I select the items in that category?
Or, how do I return the value of the name of the selected category
 
Outlook provides no way to select items in the view programmatically. You
can, however, get the collection of items that the user selected from the
ActiveExplorer.Selection collection.
 
Sue, thanks for the information. This question was related to thi
post: http://www.outlookforum.com/t97501-s. The reason why I'm askin
is because I have a user that selects a category and wants to create a
email addressed to every contact (including all of the emails liste
for each contact). If the user can't select the category and run
macro, how about if they select all of the contacts in a categor
manually? Can I use your suggestion above to loop through the selecte
items and add each email address to a newly created mail item? Doe
this sound like the right process?

Thanks,
Charles Marshal
 
Sue, thanks for the information. This question was related to thi
post: http://www.outlookforum.com/t97501-s. The reason why I'm askin
is because I have a user that selects a category and wants to create a
email addressed to every contact (including all of the emails liste
for each contact). If the user can't select the category and run
macro, how about if they select all of the contacts in a categor
manually? Can I use your suggestion above to loop through the selecte
items and add each email address to a newly created mail item? Doe
this sound like the right process?

Thanks,
Charles Marshal
 
Sue, thanks for the information. This question was related to thi
post: http://www.outlookforum.com/t97501-s. The reason why I'm askin
is because I have a user that selects a category and wants to create a
email addressed to every contact (including all of the emails liste
for each contact). If the user can't select the category and run
macro, how about if they select all of the contacts in a categor
manually? Can I use your suggestion above to loop through the selecte
items and add each email address to a newly created mail item? Doe
this sound like the right process?

Thanks,
Charles Marshal
 
Yes, if the user has all the items in the category manually, you can iterate
the ActiveExplorer.Selection collection to work with each item in the
collection in its turn.
 
Back
Top