MSP 2K Macros

D

DaveB

Several of my MSP 2K files open with a warning dialog box
saying that potential harmful macros are attached. I
then get the opportunity to enable or disable the
macros.
The question is: These files don't have any macros in
them. Why do I get this message?
 
J

John

Dave,
Well, Dave, Project is telling you that there are macros attached to
your files. Macros can be attached to a file in a couple of ways -
directly in a module or indirectly through a userform. And if I'm not
mistaken you may also have an auto run type of macro that may not
necessarily show up when you look in the organizer.

I assume you looked for macros in the organizer using the "modules" tab.
This may also show forms that have macro code but a better way to see
what is attached to the file is to open the Visual Basic Editor (Visual
Basic toolbar) and then select the Project Explorer icon. It will allow
you to see the hierarchical structure of objects (including forms and
modules) for the Global and each open Project. However, before you
decide to delete any macro in the Project files, make sure you know what
you are deleting.

Hope this helps.

John
 
J

Jack D.

DaveB said:
Several of my MSP 2K files open with a warning dialog box
saying that potential harmful macros are attached. I
then get the opportunity to enable or disable the
macros.
The question is: These files don't have any macros in
them. Why do I get this message?

If the project was originally built in an earlier version and was then
converted to a later version sometimes Project adds in a little macro.
You can delete it if you want by hitting ALT+F11 then browsing to the
project and then the modules and erasing it.

--
Please try to keep replies in this group. I do check e-mail, but only
infrequently. For Macros and other things check http://masamiki.com/project

-Jack Dahlgren, Project MVP


+++++++++++++++++++
 

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

Top