It seems a misunderstanding exists how property handler works. What Jon posted is VBA example and property handler is different for every element, because the list of access strings is different, so if you are not sure, you have to do own analysis of an element using ph.GetAccessStrings() method to check what is available.
↧