1. the property is '.IsVisible = False', not '.Visible = False'
2. Where are you putting this code?
3. You say you want to DISABLE a field, but the code looks to hide it. You should use '.IsReadOnly = True', as hiding fields is generally not favoured by most of the senior users here.