Z
zip
Hi,
I have developed a project file with a macro that runs automatically when
the file is opened as below,
Private Sub Project_Open(ByVal pj As Project)
' Macro Autorun
Macro "Toolbars"
End Sub
This auto run macro moves a customised toolbar from the global.mpt to the
project file.mpp so that this toolbar can be used over a network for this
particular project file.
My problem is that whenever a user who has previously opened my file opens
another project file on their networked desktop, these toolbars are loaded
and visible.
I would somehow like to ensure that these toolbars are only loaded and
visible for my particular project file. I have thought about a macro that
runs automatically when the user closes this file but I am have not been
successful doing this.
Any help would be greatly appreciated. Thanks very much...
I have developed a project file with a macro that runs automatically when
the file is opened as below,
Private Sub Project_Open(ByVal pj As Project)
' Macro Autorun
Macro "Toolbars"
End Sub
This auto run macro moves a customised toolbar from the global.mpt to the
project file.mpp so that this toolbar can be used over a network for this
particular project file.
My problem is that whenever a user who has previously opened my file opens
another project file on their networked desktop, these toolbars are loaded
and visible.
I would somehow like to ensure that these toolbars are only loaded and
visible for my particular project file. I have thought about a macro that
runs automatically when the user closes this file but I am have not been
successful doing this.
Any help would be greatly appreciated. Thanks very much...