View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
NA_AB[_2_] NA_AB[_2_] is offline
external usenet poster
 
Posts: 57
Default how to get the value object back from 'customproperties'?

hi all, am developing an automation addin for excel. And, while saving my
worksheet I am saving certain objects as the custom properties of that
worksheet. Now when am trying to get back those objects, I am getting an
exception that says 'Unable to cast type System.string to....'. What is the
problem here? How can I extract the values(stored as custom properties) as
Objects but not strings?!

Regards,
na_ab