字体如何区分~

来源:百度知道 编辑:UC知道 时间:2024/05/24 11:37:40

你是说在什么上面字体如何区分?
如果是自己在编辑过程中,有预览呀

你是指哪方面的区分?如果是指自己通过观察区分,只能是靠经验了。如果是指编程方面的。希望下面的代码可以帮到你:

Sub Macro2()
' 假设(A1=1 粗体)
If Range("A1").Font.Bold = True Then
MsgBox "类别为True"
Else
MsgBox "类别为False"
End If
End Sub

Sub Macro2()
' 假设(A1=1 粗体)
If Range("A1").Font.Bold = True Then
MsgBox "类别为True"
Else
MsgBox "类别为False"
End If
MsgBox "行号:" & Range("A1").Row
MsgBox "列号:" & Range("A1").Column

End Sub