What I want is a Ctrl - o (say) marco, that takes an existing cell, whatever's in it, and adds "=round(" to the front and ",0)" to the back. If I try to record a macro, with or without relative references, when I call it again, it repeats the cell contents I was recording the macro in!
Example, if I record a macro in a cell that has +170+20 in it, I invoke record, then type:
F2 (turns on edit)
Home
=round(
Delete key (because stupid Excel replaces the + with an +)
End
,0)
Enter
And then back to stop macro recording. The result is "=round(170+20,0)". Good. But, if I then go to the next cell that has +200+100 in it, and call Ctrl-O, guess what I get back? Yup "=round(170+20,0)", the same contents as the previous cell. The cell contents of the cell I'm trying to round are wiped out.
That's bloody worthless of course. Any way around this? Believe it or not I'm just now moving from 123 to Excel. This was so easy in 123.
Example, if I record a macro in a cell that has +170+20 in it, I invoke record, then type:
F2 (turns on edit)
Home
=round(
Delete key (because stupid Excel replaces the + with an +)
End
,0)
Enter
And then back to stop macro recording. The result is "=round(170+20,0)". Good. But, if I then go to the next cell that has +200+100 in it, and call Ctrl-O, guess what I get back? Yup "=round(170+20,0)", the same contents as the previous cell. The cell contents of the cell I'm trying to round are wiped out.
That's bloody worthless of course. Any way around this? Believe it or not I'm just now moving from 123 to Excel. This was so easy in 123.