Excel VBA editor auto-UNcapitalizing properties
问题 Usually the Excel VBA editor auto-capitalizes keywords and property names for you, but now it is un-capitalizing them. Like this: Private Sub CommandButton1_Click() Range("A1").Value = "test" End Sub changes to: Private Sub CommandButton1_Click() Range("A1").value = "test" End Sub And then the code doesn't run properly. Any ideas what could cause this behavior? Thanks. 回答1: Possible reasons You have named one of the modules as value You have a variable called value in one of your procedures