+ Reply to Thread
Results 1 to 6 of 6

Functions not working after Cells.Value update

  1. #1
    Registered User
    Join Date
    06-07-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    5

    Functions not working after Cells.Value update

    Anyone have any idea why?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Functions not working after Cells.Value update

    Hello EeeK,

    My Magic Eight Ball shows "Reply Hazy" and the cats broke my crystal ball. We will have to do this the old fashion way with you posting your workbook or the code you are having problems with.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    06-07-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Functions not working after Cells.Value update

    Sorry, the code is as follows:

    Please Login or Register  to view this content.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Functions not working after Cells.Value update

    Hello Eeek,

    The code looks good . What is not doing?

    Not sure why you took the long way on the rows and columns in this line...
    Please Login or Register  to view this content.

    When you have already defined these variables...
    Please Login or Register  to view this content.

    You could have used this...
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-07-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Functions not working after Cells.Value update

    Hi Leith, thx for your fast reply.

    Please Login or Register  to view this content.
    The above lines are for debug purpose, I'll comment off once everything is complete.

    This sub is a callback trigger by a XLL UDF function.

    The first time the function is called which trigger this sub, it's work fine but the second time I call, it return 0 without entering the function and the sub even I've set the breakpoints in both the function and sub.

    And the third time I call the function, it's stop at the breakpoints twice. And subsequently calls is accumulative.

    Any idea why?

  6. #6
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Functions not working after Cells.Value update

    Hello EeeK,

    I have never created an XLL add-in. You can look here for more information on them and associated problems. Thanks to Romperstomper for link.

+ 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