I have an existing macro that goes to the footer, selects All and Cuts, closes the footer and then should go back to where the cursor was before opening the cursor to paste there.
Right now is doing the cut but when it closes the Footer with:
WordBasic.closeviewheaderfooter
it's going to the top of the document.
I want it to paste it right where the cursor was before getting in the footer, no matter where it was, but the darn thing always jumps to the begining of the document like a Ctrl+Home.
Is there a way to say "go back where the cursor was" like crate a bookmar before going to the footer and then going back to the bookmark and then deleting it when I"m done.?
I need a little help with the code since I'm not very good.
Right now is doing the cut but when it closes the Footer with:
WordBasic.closeviewheaderfooter
it's going to the top of the document.
I want it to paste it right where the cursor was before getting in the footer, no matter where it was, but the darn thing always jumps to the begining of the document like a Ctrl+Home.
Is there a way to say "go back where the cursor was" like crate a bookmar before going to the footer and then going back to the bookmark and then deleting it when I"m done.?
I need a little help with the code since I'm not very good.