Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / May 2004

Tip: Looking for answers? Try searching our database.

Automatic Insert

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thanassis Gaitatzis - 25 May 2004 12:55 GMT
Hi,

we are running outlook2000 or XP with SP3.
I generate a local distribution-group in my outlook and inserted the users I
want. Now I want after selecting this group that in the fields "CC" are
inserted Users automatically and in "Subject" is inserted some Data
automatically. I posted this in an german outlook group, but they told me to
post it here. Hope someone can help me with this issue!
Thanks and regards
Thanassis
Sue Mosher [MVP-Outlook] - 25 May 2004 15:08 GMT
What do you mean by "selecting this group"?

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Hi,
>
[quoted text clipped - 6 lines]
> Thanks and regards
> Thanassis
Thanassis Gaitatzis - 26 May 2004 09:57 GMT
> What do you mean by "selecting this group"?

I mean the selection-window pops up when I push the button "To". Then I can
select a user or a group. Sorry, my english isnt`t really good, but I hope
you understand now what I mean :-)

Regards
Thanassis

>> Hi,
>>
[quoted text clipped - 7 lines]
>> Thanks and regards
>> Thanassis
Sue Mosher [MVP-Outlook] - 27 May 2004 02:30 GMT
So you're selecting from the address book. I'm still not clear about what
the ultimate goal is, though. Rather than describing the steps you think
should take place, maybe you could sketch out the business function you're
trying to fulfill.

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> I mean the selection-window pops up when I push the button "To". Then I can
> select a user or a group. Sorry, my english isnt`t really good, but I hope
[quoted text clipped - 10 lines]
> >> fields "CC" are inserted Users automatically and in "Subject" is
> >> inserted some Data automatically.
Thanassis Gaitatzis - 28 May 2004 09:06 GMT
Hi,
ok, I try onesmore.

Outlook is open. I push the "New" Button for new Mail. A Window pop up. I
have now three fields for inserting my data. Fields are: "To"; "Cc";
"Subject". In the field "To" I can select a contact like a single recipient
or a group recipient wich I have defined in my lokal Adress-Book (for my
description I named the group "Test").
So far so good.
What I want is the following:
In the moment I select the group "Test" in the field "To", the fields "Cc"
and "Subject" must filled up automatically with Data I have defined before
for this group, because the "Cc" reciepient(s), and the subject is every
time the same. I do not want to fill up the fields per hand when I select
the group "Test".
That is the ultimate goal. Is there a resolution? I?m not a programmer or
developer, but with a description for a resolution I think I can do it by
myself.
Thanks for your tips!
Thanassis

> So you're selecting from the address book. I'm still not clear about
> what the ultimate goal is, though. Rather than describing the steps
[quoted text clipped - 15 lines]
>>>> fields "CC" are inserted Users automatically and in "Subject" is
>>>> inserted some Data automatically.
Sue Mosher [MVP-Outlook] - 28 May 2004 16:09 GMT
I was actually looking for more information on why you want to construct a
message that has Test and a certain subject in it, whether there are other
DLs you want to handle in a similar fashion, etc. Depending on what the
actual goal is, you might be better off coding a new message that uses the
Cc and Subject that you describe picking manuallly.

The scenario you describe can be handled, with some difficulty, using the
Inspectors.NewInspector event to instantiate an object representing the new
message, then use the PropertyChange method to watch for changes in the To
property. The difficulty comes in the fact that PropertyChange will most
likely fire multiple times even though the user chooses only one address.
Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Hi,
> ok, I try onesmore.
[quoted text clipped - 36 lines]
> >>>> fields "CC" are inserted Users automatically and in "Subject" is
> >>>> inserted some Data automatically.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.