+ Reply to Thread
Results 1 to 5 of 5

simple one: If cell highlighted, then copy value

  1. #1
    Registered User
    Join Date
    02-27-2012
    Location
    atlanta
    MS-Off Ver
    Excel 2007
    Posts
    61

    simple one: If cell highlighted, then copy value

    One more question please. looked everywhere and can't figure it out. I'm sure it's simple for most of you...

    if any cell is highlighted, then make the value zero

    see attached for sample.

    again, appreciate it. nearly done with this over my head project!
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: simple one: If cell highlighted, then copy value

    With formula, excel could not define what kind of format the cell was. If the cell is formatted with condition, use that condition, if not, VBA can help.
    Quang PT

  3. #3
    Registered User
    Join Date
    02-27-2012
    Location
    atlanta
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: simple one: If cell highlighted, then copy value

    I'm afraid i have no idea about vba. Guess this isn't so simple, ha. Any input greatly appreciated.

  4. #4
    Registered User
    Join Date
    10-07-2015
    Location
    Vancouver, BC, Canada
    MS-Off Ver
    Office 365
    Posts
    22

    Re: simple one: If cell highlighted, then copy value

    use this function:
    Please Login or Register  to view this content.
    then apply this function in your workbook. look at yellow cells
    Feel free to find more tutorials on my Excel Blog.
    Attached Files Attached Files

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: simple one: If cell highlighted, then copy value

    Is it able to use a helper column? If you want to highlight B1, instead of highlight it, type 1 in to A1, then apply condition formating on cell B1 to highlight. A1=1 will be condition of C1: IF(A1=1,0,B1)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy entire row if cell is highlighted
    By bdrilling33 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-02-2014, 10:13 AM
  2. copy content of highlighted cell into another cell
    By springadero in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-25-2013, 08:26 PM
  3. Copy Highlighted Cell from one tab to another
    By nhunt in forum Excel General
    Replies: 3
    Last Post: 10-31-2013, 02:16 AM
  4. Copy Highlighted Cell And Paste
    By samdegg in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-28-2013, 06:23 PM
  5. Copy a Row to another sheet of a cell in a column is highlighted
    By kdsanderson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-30-2013, 11:52 AM
  6. Replies: 2
    Last Post: 12-05-2012, 09:54 AM
  7. Macro to copy rows with red or yellow highlighted cell in column H
    By jamie.c in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-13-2009, 04:31 AM

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