In one cell, I have this: Albert Einstein
I need a macro to rewrite it this way: Einstein, Albert
I recorded a macro with the combination of the following keyboard keys:
F2 → Home → CTRL+Shift+right arrow (Which highlight the name Albert and the space before E) → CTRL+X → End → , → CTRL+V → Return
I save the macro in the document. It work the first time but, when I start the macro for the next name, it copy the same name. If I have on another cell the word: Paul Dirac
and I execute the macro, I get : Einstein, Albert
Not very practical. Can you help me? Keep in mind that this is the first time I do a macro.
Thank you in advance for your help.