strange change

Cabbage1031

New Member
Joined
Aug 12, 2005
Messages
3
Whenever I press F2 in Excel, when trying to edit a cell with text, the current text changes to $y and the original text is gone. Therefore it is impossible to change text in a cell using F2 as a shortcut. Any suggestions or explanations. It is very puzzling to me. Thanks.
 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Tazguy37

MrExcel MVP
Joined
May 28, 2004
Messages
4,237
Try running this macro:

Code:
Sub resetKey()
    Application.OnKey "{F2}"
End Sub

  • Press Alt-F11 to open the VBE.
    Press Control-R to open the Project Explorer. (May be open already)
    Click "Microsoft Excel Objects" for the file you're working on (should expand the list of the ThisWorkbook module and any sheet modules.)

    Select Insert, Module from the drop down menus.

    Put your code in the right-hand window.
    Press Alt-Q to close the VBE and return to Excel.

That should reset the F2 key back to its original (Edit) state. Post back if you have any problems. Hope that helps!
 

Watch MrExcel Video

Forum statistics

Threads
1,118,537
Messages
5,572,782
Members
412,484
Latest member
deezina07
Top