+ Reply to Thread
Results 1 to 3 of 3

copy conditional formatting cells into new sheet

  1. #1
    Registered User
    Join Date
    04-05-2021
    Location
    Singapore
    MS-Off Ver
    Office Home and Business 2019
    Posts
    10

    copy conditional formatting cells into new sheet

    Hi All,

    Im new to VBA and facing some issue to simplify my work

    I have this excel sheet(table 1) with reference numbers("#:") all over the place(cell A1:BU1500). I need to have these reference numbers in a new sheet(result) in column A.


    I figured that using conditional formatting to identify those cells containing ("#:") and highlight in RGB(255,255,0) then i copy and past them in result-column A.

    Hope you can understand my explanation above and below are my module.

    Please Login or Register  to view this content.
    PROBLEM: Above code cannot pick up the cells highlighted by conditional formatting. It works if i were to highlight the cells with fill color

    Did i miss something or there is nothing I can do with conditional formatting?
    Last edited by AliGW; 04-05-2021 at 07:29 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,244

    Re: copy conditional formatting cells into new sheet

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. As you are new, I have done it for you today.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-05-2021
    Location
    Singapore
    MS-Off Ver
    Office Home and Business 2019
    Posts
    10

    Re: copy conditional formatting cells into new sheet

    Thank you AliGW and will take note of it

+ 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. Replies: 2
    Last Post: 12-22-2019, 11:14 AM
  2. [SOLVED] VBA: Copy Conditional Formatting from one sheet to another in the same workbook
    By devildogdad76 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-25-2019, 01:47 AM
  3. Copy Conditional Formatting from one sheet to another in the same workbook
    By devildogdad76 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-24-2019, 05:06 AM
  4. Macro to copy conditional formatting rules from sheet to sheet.
    By namy77 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-30-2017, 11:38 AM
  5. Replies: 5
    Last Post: 05-18-2016, 03:30 AM
  6. Replies: 2
    Last Post: 12-29-2013, 05:53 AM
  7. Copy Entire row to another sheet if it has conditional formatting
    By imogul in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-27-2011, 01:22 PM

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