Can't find macro

  • Thread starter Thread starter Jürgen Doubrawa
  • Start date Start date
J

Jürgen Doubrawa

Hello Everyone!

I have a basic problem with outlook 2002 / 2003 macro programming.
I made a macro with VBA. It works if I start it in VBA.

But when I start it with outlook with a button it says the macro can't be
found.
When I start it through the Menu: Tools->Macros->Macro and choose execute
the it says:
Sub or function not defined.


what did I do wrong?

in VBA I created a module in the vbaprojects.otm file.
I have by the way no idea what the difference is between a module
and a ms office outlook object. In vba there is a default object called
ThisOutlookSession.


help please!

greetings Jürgen Doubrawa
 
Show the macro code you are using. Is this a Sub with no arguments
passed to it? Is it declared as Private or Public?
 
I found the error.
I didn't set up the macro right. had to add a procedure.
now everything works fine.

thanks anyway

greetings jürgen
 
Back
Top