ProjectGlobal IF THEN Statement

Z

zip

I need to write a ProjectGlobal, Project_Open event which checks if a
customised toolbar is sitting in the Global.mpt file, and then if it is, to
delete it. I imagine it the code for this would look like,

"IF toolbar is present in Global.mpt THEN delete ELSE do nothing"

I'm wondering if you could please assist me with writing this code.

Thanks very much.

zip
 
J

Jan De Messemaeker

Hi,

Ther eis no way (you asked this several times before, didn't you?) to find
oyut whather or not a toolbaar is ther except for:
Try this

On error resume next
organizerdeleteitem (pjtoolbars, "Global.mpt","Nameof the bar")
on error goto 0

Hope this helps
 

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