+ Reply to Thread
Results 1 to 4 of 4

Color Button Help!

  1. #1
    Registered User
    Join Date
    07-19-2012
    Location
    Uniontown, PA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Color Button Help!

    Hey everyone!

    Need some quick help. I've attached a spreadsheet with a few simple command buttons. Next to the buttons is a work instruction. I want the button (when pushed) to alternate the colors of the work instruction cell from red to green. This way the cell can be set to red and when an employee completes the specified task they can push the button and the work instruction will turn green (for complete). It seems basic but I am terrible with macros. Could someone please help me with some code!

    Thanks!!!
    Attached Files Attached Files

  2. #2
    Forum Contributor wakeupcall's Avatar
    Join Date
    02-29-2012
    Location
    Sofia, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: Color Button Help!

    Hi,

    Is this what you wanted?
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-19-2012
    Location
    Uniontown, PA
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Color Button Help!

    Although that works Great!, I was hoping to have a button to push that will alternate the task from red to green. Is this possible?

  4. #4
    Forum Contributor wakeupcall's Avatar
    Join Date
    02-29-2012
    Location
    Sofia, Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    155

    Re: Color Button Help!

    Sure,

    use this code behind the button corresponding to cell A3

    Please Login or Register  to view this content.
    Change A3 for the cell references of the other cells

    If you want the macro to colour all cells at once, you may use this

    Please Login or Register  to view this content.

+ 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