+ Reply to Thread
Results 1 to 2 of 2

Copy Data if Cell colour is changed

  1. #1
    Registered User
    Join Date
    12-01-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    38

    Copy Data if Cell colour is changed

    Hi,

    I wondered if you could assist me.

    I am entering data in a cell.... if I make that cell colour Blue (or any colour of my choice), I would like whatever information is in that cell to be copied to a different worksheet and cell.

    I am not sure if this is possible without some VBA code because for each cell that has had its colour changed to blue, it would to copy to another worksheet but to the next consecutive cell so it does not overwrite.

    Any help would be much appreciated!

    Thanks in advance.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Copy Data if Cell colour is changed

    It's not going to be possible without VBA and even with you would struggle. Changing the colour of a cell doesn't kick of any events in VBA such as change or calculate so you would need to think of another trigger for the data to be copied.

    You could have a button or menu option that performed the following:

    - Check the colour of a cell in the active row and if blue do nothing
    - If not blue copy the row to the other worksheet in the next available row
    - Colour the original row blue

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

+ 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