我尝试了以下但它不工作:
Sub Enter_Values3()
Dim dbl As Double
dbl = ThisWorkbook.Worksheets(2).Columns("A:A").Select
End Sub
Marty McVry Link 工作
Sub macro()
Range("A:A").Select 'specify the range which suits your purpose
Sheets(2).Select
With Selection
Selection.NumberFormat = "0"
.Value = .Value
End With
End Sub
谢谢
您是否尝试过使用 NumberFormat 或 CSNG?