I put the z axis last because I wanted to move the x and y axis to the stored point first then bring the z axis down to the stored point for it. As I said before I don't have any programming experience so have I done this wrong or did you mean I should add it to the Sub User_4 program so it looks something like this.
Sub User_4
Sub Move_to_startpoint
G00 Z0
G00 X#1001 Y#1002
G00 Z#1003
Endsub