M
Mocha
Helo everyone,
My name is Yogi. I want to ask about macro in Ms Project Profesional 2007.
This code below raise an eror "Automation error Unspecified Error"
......
Set MenuItem = MenuObject.Controls.Add(Type:=msoControlButton)
MenuItem.OnAction = "Warn"
.....
sub warn()
msgbox "Hellooo"
end sub
How can i solve this error?
My Objective is making my own menu then the menu will triger the warn
procedure.
thank you.
My name is Yogi. I want to ask about macro in Ms Project Profesional 2007.
This code below raise an eror "Automation error Unspecified Error"
......
Set MenuItem = MenuObject.Controls.Add(Type:=msoControlButton)
MenuItem.OnAction = "Warn"
.....
sub warn()
msgbox "Hellooo"
end sub
How can i solve this error?
My Objective is making my own menu then the menu will triger the warn
procedure.
thank you.