Microsoft Project Before Save Event - Microsoft Community
Office / Project / Windows 8 / Office 2013
hello
i'm trying create beforesave event in project 2013, have pretty fallen @ first hurdle, great if out.
this code far
private sub project_beforesave(byval pj project, byval saveasui boolean, cancel boolean)
ans = msgbox("do want save project", vbokcancel)
if ans = vbcancel cancel = true
end if
end sub
--------------------------------------------------------------------------------------------------
i see when hit save button
thanks !
john,
the error occurs because have convolution of 2 different events, project.beforesave , application.projectbeforesave. first runs @ project level , has 1 parameter, while second @ application level , has 3 parameters. have specified project level event given 3 parameters, compiler confused , raises error.
the project level event relatively easy implement won't think attempting. application level event think trying more complex implement requires creation of class module in addition private sub.
so, trying do, , how involved want get?
john
Office / Project / Windows 8 / Office 2013
Comments
Post a Comment