Follow up on disbursing a custom toolbar

P

PhxProjectUser

My original question was: 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?

I rec'd the following answer:
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

MY NEW QUESTION IS:
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.
 
J

Jan De Messemaeker

Hi,

Open the distributing file
Alt+F11
In the upper left partial window open (+ sign) the name of the Project
Double-Click "This Project"
In the upcoming code window paste the macro I've published
Save the distributing file
Anyone who opens it will now have the toolbar in his/her global.
HTH
 

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