Force “F2”+“Enter” on range of cells

后端 未结 12 1728
伪装坚强ぢ
伪装坚强ぢ 2021-01-04 05:31

I have an Excel 2010 worksheet which has macros to copy data from other sheets into a specific format on another sheet.

The data copies but I have an issue with the

12条回答
  •  迷失自我
    2021-01-04 05:44

    I just got it, Simple
    Select all the cells you want to hit F2 and Enter and run this short macro:

    Sub AutoF2Enter()
    Selection.Value = Selection.Value
    End Sub

    Works on date and numbers!
    50.000 cells in a second!

提交回复
热议问题