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

后端 未结 12 1787
伪装坚强ぢ
伪装坚强ぢ 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:50

    It seems odd that you would need to send keys F2 + Enter. What is the formatting before you run the macro? Try formatting the whole column that way (it won't affect the text).

    Columns("C:C").NumberFormat = "yyyy-mm-dd"
    

提交回复
热议问题