+ Reply to Thread
Results 1 to 4 of 4

find out previous cell value

  1. #1
    Registered User
    Join Date
    06-24-2005
    Posts
    45

    find out previous cell value

    Hi,
    Iam trying to write a small macro to do some validation in my spreadheet. I tried all possibilities and coul dnot find out anyway to get the following idea. Could be a lack of knowledge in the VBE macros. Anybody could help in this regard would be really help for me.

    I want to compare the old value and new value(value that changed by user) in a cell . If Old (previous) value is greater than entered value , then need to display a message.

    Means - Let us assume the cell (A1) has a value '1 Jan 2009' and user changing that value to '31 Dec 2008' , Then I need to display a warning message. My dilemma is I am not able to get the old(previous value in the cell) to compare with new value ....

    Please throw me some light on this..

    Joe

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help to find out previous cell value

    Try this:
    Please Login or Register  to view this content.
    Code goes in the appropriate Sheet module.
    Last edited by shg; 03-30-2009 at 11:26 AM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-24-2005
    Posts
    45

    Re: find out previous cell value

    Great !!! That Worked !!!!! Thank you very much !!!!!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: find out previous cell value

    You’re welcome. Would you please mark the thread as Solved?

    Click the Edit button on your first post in the thread

    Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes

+ 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