PDA

View Full Version : Test if Calculation Needed in VBA (Manual Calculation Turned On)



grabowskijr
07-28-2016, 05:40 PM
Just curious if anyone knows how to test if a calculation is needed (i.e. changes have been made but the schedule hasn't been calculated). I am writing a macro for MS Project 2013 and I can't figure out how to check for it. Don't want to calculate the project in the code without warning the user that a calculation is needed. MS Project 2013 says at the bottom that a calculation is needed but I can't find the object that I would reference. I already run a check for Calculation Mode using:

If application.calculation = pjmanual then...

Thanks!
JR