D
David
I want to add a line before and after text in a cell and
as I have over 300 cells have tried creating a macro
using the following:
Start recording
F2 to position the cursor in the cell
Ctrl+Home to put the cursor at the front of the cell
Alt+Enter to insert a line
Ctrl+End to move to the end of the text
Alt+Enter to insert a line
Enter to move to the next cell
Stop recording
However, the macro inserts the same text in every cell on
which I run the macro when I want it to ignore the text
and simply add a line before and after the existing text.
How do I get it to ignore the text in the cell? Couldn't
find the Relative Cell Ref button in Excel 2000.
as I have over 300 cells have tried creating a macro
using the following:
Start recording
F2 to position the cursor in the cell
Ctrl+Home to put the cursor at the front of the cell
Alt+Enter to insert a line
Ctrl+End to move to the end of the text
Alt+Enter to insert a line
Enter to move to the next cell
Stop recording
However, the macro inserts the same text in every cell on
which I run the macro when I want it to ignore the text
and simply add a line before and after the existing text.
How do I get it to ignore the text in the cell? Couldn't
find the Relative Cell Ref button in Excel 2000.