name cannot store a value because it is not a property
Only properties can store values.
Verify the property names for the object you are working with (see its Help topic), and then use one of the existing properties or define your own in the New Property dialog box.