+ Reply to Thread
Results 1 to 3 of 3

can't assign to read only property

  1. #1
    Registered User
    Join Date
    12-10-2009
    Location
    Saratov
    MS-Off Ver
    Excel 2003
    Posts
    7

    can't assign to read only property

    A have a problem with on of my modules. I downloaded a module for create a counter for my application in Excel. I integrated them successfully. But after i wanted rewrute them for my own purpose and insert in them my own instance of class..But them i want to let a property of my odject them compilator return me an error ..This is a module

    Please Login or Register  to view this content.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: can't assign to read only property

    You haven't posted the class code, but based on a combination of your last post about classes and the names of those properties, I'd say you either haven't created Property Let procedures for all those values you are trying to write to or (more likely) you have done what you did last time (in spite of what I said! ) and created property let and property get procedures with different names. If that is the case then you need to either change it, or use the Let versions:
    Please Login or Register  to view this content.
    rather than:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    12-10-2009
    Location
    Saratov
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: can't assign to read only property

    o..My apologies! A so careless!!! Ofcose you rigth! I forgot it .Thank for your help!
    From Russia with Love

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1