+ Reply to Thread
Results 1 to 4 of 4

Code Reuse - Logging Actions When a Cell Changes -2

  1. #1
    Registered User
    Join Date
    04-01-2009
    Location
    new delhi
    MS-Off Ver
    Excel 2003
    Posts
    45

    Code Reuse - Logging Actions When a Cell Changes -2

    Hi all,

    With reference of thread
    http://www.excelforum.com/excel-prog...ml#post2085981

    I have made an class and created a file to log when user change value or insert formula in a sheet get recorded in a file C:\Logme.csv

    The problem is it is recording the value and formula at random i.e in some instances it records the value and in some instances it is not recording the value and formula in logme.csv . I am unable to figure out why this is happening?

    can some1 help in this regard.

    Govind
    Attached Files Attached Files
    Last edited by webbug08; 05-03-2009 at 04:05 AM. Reason: attachment missing

  2. #2
    Forum Contributor
    Join Date
    04-18-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    269

    Thumbs up Re: Code Reuse - Logging Actions When a Cell Changes -2

    Hi Govind,

    The file looks proper to me. However, at one place in the Auto_Open module, I have written the code:
    Please Login or Register  to view this content.
    I changed the path of the log file to my comp's local path and tried running your macro. It is running perfectly and without any issues.

    I have added a couple of message boxes to indicate Enabling and Disabling of the function.

    In case there is an error in running the function and you get the Debug/End window, the Global/Public values are lost. I guess something like this must have happened in your case.

    Regards,
    Karan
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-01-2009
    Location
    new delhi
    MS-Off Ver
    Excel 2003
    Posts
    45

    Talking Re: Code Reuse - Logging Actions When a Cell Changes -2

    Thanks a ton Karan

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: Code Reuse - Logging Actions When a Cell Changes -2

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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