Have you tried recording your steps using the VBA Macro Recorder?
It does not always pick up all the commands but worth a try?
It does not always pick up all the commands but worth a try?