View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] Abraham.Olson@gmail.com is offline
external usenet poster
 
Posts: 28
Default How does one create a delete property of a user defined class?

I have a class that I made, called clsPicCell. Each clsPicCell object
has a two objects within it, a range object and a picture object (both
private objects).

I would like help on how to be able to delete a clsPicCell object, call
it xCell. The desired result is that if I code something like:

xCell.delete

it will clear the range object and delete the picture, and get rid of
the object all together. How would I do this? I was unable to find any
related topics, so point me in the direction of one if you know of it.

Thanks,

-Abe