Macro to go to cursor position in Writer

Can anyone help me with this?

I think this might work if modified Set focus on cursor