A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Programmatically Create an E-mail Signature on Outlook Startup



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 17th 08, 12:44 AM posted to microsoft.public.outlook.program_vba
GaryO
external usenet poster
 
Posts: 2
Default Programmatically Create an E-mail Signature on Outlook Startup

I have several hundred users that will be using a single mandatory profile.
As it is currently setup, whenever a user opens outlook a new Outlook Profile
is created for them to use during that Outlook session. If the user were to
close Outlook and reopen it, a new profile would be created. When the user
logs off of the computer all profile information on the computer is erased.

I need to be able to, on Application Startup, Create a new default signature
to use for new messages and replies in the current profile.

I am curious if anyone has an example of this? I am currently only able to
find examples where the application has to be closed (and in my case the
profile will not exist) to work.

Any help would be greatly appreciated.

GaryO

  #2  
Old September 17th 08, 02:49 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Programmatically Create an E-mail Signature on Outlook Startup

You forgot to mention your Outlook version. Whatever it is, it probably would
be possible to accomplish this with an add-in. Would that a possible
approach?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"GaryO" wrote:

I have several hundred users that will be using a single mandatory profile.
As it is currently setup, whenever a user opens outlook a new Outlook Profile
is created for them to use during that Outlook session. If the user were to
close Outlook and reopen it, a new profile would be created. When the user
logs off of the computer all profile information on the computer is erased.

I need to be able to, on Application Startup, Create a new default signature
to use for new messages and replies in the current profile.

I am curious if anyone has an example of this? I am currently only able to
find examples where the application has to be closed (and in my case the
profile will not exist) to work.

Any help would be greatly appreciated.

GaryO

  #3  
Old September 17th 08, 03:13 AM posted to microsoft.public.outlook.program_vba
GaryO
external usenet poster
 
Posts: 2
Default Programmatically Create an E-mail Signature on Outlook Startup

I currently have OL 2003 Deployed; however, if the only solution available is
to go to OL2007/Office 2007 that is an acceptable option.

Also an add-in would be an acceptable approach to this delema.


"Sue Mosher [MVP-Outlook]" wrote:

You forgot to mention your Outlook version. Whatever it is, it probably would
be possible to accomplish this with an add-in. Would that a possible
approach?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"GaryO" wrote:

I have several hundred users that will be using a single mandatory profile.
As it is currently setup, whenever a user opens outlook a new Outlook Profile
is created for them to use during that Outlook session. If the user were to
close Outlook and reopen it, a new profile would be created. When the user
logs off of the computer all profile information on the computer is erased.

I need to be able to, on Application Startup, Create a new default signature
to use for new messages and replies in the current profile.

I am curious if anyone has an example of this? I am currently only able to
find examples where the application has to be closed (and in my case the
profile will not exist) to work.

Any help would be greatly appreciated.

GaryO

  #4  
Old September 17th 08, 01:46 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Programmatically Create an E-mail Signature on Outlook Startup

Take a look at the code sample at
http://technet.microsoft.com/en-us/m.../cc160913.aspx . I also have a
more sophisticated version using the same technique in my Outlook 2007 book,
as Listing 17.8; you can download the code from
http://www.outlookcode.com/member/book.aspx and potentially adapt it to
Outlook 2003 by taking out the bits that gather information from the user's
Exchange account.

I know this technique works well in Outlook 2007 and in Outlook 2003 with
Word as the editor. I'm not sure whether it works, though, in Outlook 2003
without WordMail.

If you used an add-in to accomplish this, the code could go in the
Application.Startup event handler. (I'd do a VBA prototype before attempting
an add-in.) Another possibility -- if you can implement a registry change for
each user's login -- is to put the code in a web page and set that page to
run as a folder home page. I have an example of this in the Outlook 2007
book, but it's not a technique limited to that version.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"GaryO" wrote:

I currently have OL 2003 Deployed; however, if the only solution available is
to go to OL2007/Office 2007 that is an acceptable option.

Also an add-in would be an acceptable approach to this delema.


"Sue Mosher [MVP-Outlook]" wrote:

You forgot to mention your Outlook version. Whatever it is, it probably would
be possible to accomplish this with an add-in. Would that a possible
approach?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54




"GaryO" wrote:

I have several hundred users that will be using a single mandatory profile.
As it is currently setup, whenever a user opens outlook a new Outlook Profile
is created for them to use during that Outlook session. If the user were to
close Outlook and reopen it, a new profile would be created. When the user
logs off of the computer all profile information on the computer is erased.

I need to be able to, on Application Startup, Create a new default signature
to use for new messages and replies in the current profile.

I am curious if anyone has an example of this? I am currently only able to
find examples where the application has to be closed (and in my case the
profile will not exist) to work.

Any help would be greatly appreciated.

GaryO

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
programmatically enable encryption and digital signature Christian Bahnsen Outlook and VBA 1 August 25th 08 03:07 AM
Can I create a custom signature with my own logo in Outlook 2002? Duane Outlook - General Queries 2 February 19th 08 05:01 PM
Outlook 2007 Can't Create Signature [email protected] Outlook - General Queries 0 March 20th 07 11:12 PM
Programmatically Create/Install VBA Macro Please Assist Outlook and VBA 3 February 15th 07 07:42 PM
Programmatically Export Outlook Mail to Microsoft Access LDMueller Outlook and VBA 4 June 13th 06 02:54 PM


All times are GMT +1. The time now is 10:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.