Hi,

I want to run a macro from normal.dot. The macro is located in another
project.

Have tried with application.run and call, but the public macro can not be
found.

When looking in the VBA - the project is called:
TemplateProject(FIH-kodebibliotek).
Under Modules the macro i located in the module 'Blandet'.

Re: run macro from another project by Heike

Heike
Mon Aug 01 04:10:16 CDT 2005

Hallo Chris,

you need to make a reference on your project
TemplateProject(FIH-kodebibliotek). Than you can call your macro simply
with:
TemplateProject.Blandet

If you use other projects, you should give your project a better name.

Heike Pertzel / DATA 5 GmbH

"Chris" <Chris@discussions.microsoft.com> schrieb im Newsbeitrag
news:71C4FD9C-27B7-4022-A348-548EA53C8A31@microsoft.com...
> Hi,
>
> I want to run a macro from normal.dot. The macro is located in another
> project.
>
> Have tried with application.run and call, but the public macro can not be
> found.
>
> When looking in the VBA - the project is called:
> TemplateProject(FIH-kodebibliotek).
> Under Modules the macro i located in the module 'Blandet'.
>
>



RE: run macro from another project by HelmutWeber

HelmutWeber
Mon Aug 01 04:12:04 CDT 2005

Hi Chris,

there is a known bug. ;-)

Use something like this instead,

Application.Run "SystemwideUniqueModulename.Su­bName" or
Application.Run "SystemwideUniqueSubName".

Greetings from Bavaria, Germany

Helmut Weber, MVP, WordVBA


Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"