答案 0 :(得分:4)
您可以遍历Worksheet.SmartTags。
Sub FixDates()
Application.ScreenUpdating = False
Dim DateTag As SmartTag
For Each DateTag In ActiveSheet.SmartTags
If DateTag = "urn:schemas-microsoft-com:office:smarttags#date" Then
DateTag.Range.Value = CDate(DateTag.Range.Value)
DateTag.Delete
End If
Next
Application.ScreenUpdating = True
End Sub