+ Reply to Thread
Results 1 to 3 of 3

Code for reverting cell format back to the original one

  1. #1
    Registered User
    Join Date
    04-30-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Code for reverting cell format back to the original one

    Here's the scenario.

    If I change the value of a cell, the cell changes color. -- I am using the following code for this:
    Please Login or Register  to view this content.
    Is there any way that the cell reverts back to its original formatting when I change it back to its original value?

    Eg.

    12345 --> 67890
    67890 --> 12345
    Last edited by kairab; 03-11-2013 at 09:42 AM.

  2. #2
    Registered User
    Join Date
    04-30-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Cell reverts back to original formatting

    ******bump

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Code for reverting cell format back to the original one

    Here is one way of doing it.

    Please Login or Register  to view this content.
    As you can see from the Code above, you would have to assign and work with a specific value for the target Cell.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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