Link Makros to Profile

  • Thread starter Thread starter jens m. guessregen
  • Start date Start date
J

jens m. guessregen

Hello,

is it possible to limk differnt makros to profiles?

I have Outlook 2003 with 3 different profiles and I want to have different
makros for every profile?

Best Jens
 
Outlook 2003 only has one VBA project, no matter how many Outlook logons are
available.

You can use code in the Application_Startup() event handler to read the
Outlook user, but that wouldn't disable or enable macros based on the
Outlook profile. They all still would be available.

Using a COM addin that's installed in HKCU would give you code that's
Windows logon dependent. Each Windows logon could install a different addin.

If you got NameSpace.CurrentUser you could I guess have code in each macro
that checked for that value and exited the macro if it wasn't the correct
user but that seems like a real ugly kludge to me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Makro with access to Sender.name 1
Makro in Outlook 0
makro for adressing more folders 2
How to start a makro 5
Delete sheets 5
select folder as addressbook 1
disable/enable makros automaticly 2
Promt Window 3

Back
Top