Hello,
I searched and couldn't find what I needed.
Everything is either too broad or doesn't apply to my case.
I need a macro that will change the contents of a selected cell in the following manner:
given a cell that contains a price of $500 (if it matters, prices vary from 2 digits to 6 digits).
I need a macro that will add "=" at the start and "/2" at the end (always divide by 2).
The final result should look like this: =500/2.
manually it means the following set of actions:
selecting the cell
pressing F2 to start editing
pressing "Home"
pressing "="
pressing "End"
pressing "/2"
and finally pressing "Enter"
Is there a quick macro code that does that?
Thank you!
I searched and couldn't find what I needed.
Everything is either too broad or doesn't apply to my case.
I need a macro that will change the contents of a selected cell in the following manner:
given a cell that contains a price of $500 (if it matters, prices vary from 2 digits to 6 digits).
I need a macro that will add "=" at the start and "/2" at the end (always divide by 2).
The final result should look like this: =500/2.
manually it means the following set of actions:
selecting the cell
pressing F2 to start editing
pressing "Home"
pressing "="
pressing "End"
pressing "/2"
and finally pressing "Enter"
Is there a quick macro code that does that?
Thank you!