Not all properties support returning a reference. This error has the following cause and solution:

You tried to get a reference to a property that doesn’t return a reference. Restrict your access to this property to Property Let and Property Get.