It all sounds rather complex to me. I would put a constraint of FL40 at the VOR. dial 4000 in the ALT window and press then ALT button. Then I would carry on drinking my coffee while doing the Suduko.
I find the chief pilot doesn't appreciate being told that you had to enter the hold because you hadn't got it finished before landing.