On Thu, 30 Jun 2005 08:30:07 +0200, "Mueller Michael"
<(E-Mail Removed)> wrote in microsoft.public.outlook.program_vba:
>After buying the book "Microsoft Outlook Programming" some of my problems
>were resolved easily, but now i'm stuck with changing signatures using VBA.
>
>Till now I haven't found any solution for changing the signature to a
>specific one (out of four) within the Outlook-settings or change the
>signature while generating a new Mail, like using a parameter pointing to
>the wanted sig.
>
>Can some of you help me out?
I suggested a solution not so long ago in
<http://groups.google.fi/groups?threadm=uv9JXlCcFHA.3712%40TK2MSFTNGP09.phx.gbl>.
At its shortest, it might look like this:
strBody = strBody & CreateObject("Scripting.FileSystemObject").OpenTextFile(strSigFile, ForReading).ReadAll
It might help to remember that normally signature files are stored in
%USERPROFILE%\Application Data\Microsoft\Signatures
--
Michael Bednarek
http://mbednarek.com/ "POST NO BILLS"