📜  excel vba 文本框前景色已禁用 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:57.101000             🧑  作者: Mango

代码示例1
' Textbox keeps its black forecolor (ie not grayed) when locked
With myTextbox
    .Locked = False
    .ForeColor = vbBlack
    .Locked = True
End With