Disbursing a custom toolbar

P

PhxProjectUser

I need to disburse a custom toolbar to my project team. I know that my team
members have to move it to *their* Global.mpt file. Is there a simple macro
anyone has that I can send to my team to run?
 
J

Jan De Messemaeker

Hi,

It's os simple that I don't know whether you need a macro; you move it into
a file with tools, organizer, and send that file for them to move it into
the global.
But by all means... enter the following code into the ThisProject module of
the distributing file:

Private Sub Project_Open(ByVal pj As Project)
On error resume next
OrganizerDeleteItem Type:=pjToolbars, FileName:="GLOBAL.mpt", Name:="What A
Bar"
OrganizerMoveItem Type:=pjToolbars, FileName:=activeproject.FullName,
Name:="What A Bar", tofilename:="GLOBAL.mpt"
end sub

HTH
 
P

PhxProjectUser

My file is a read-only. Will this still work? Also, you mention
entering the following code into the ThisProject module of the distributing
file. Please provide more information on how to do this.
 

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