+ Reply to Thread
Results 1 to 5 of 5

Automation: applying conditional formatting to group of cells in a loop

  1. #1
    Registered User
    Join Date
    07-18-2014
    Location
    Earth
    MS-Off Ver
    2013
    Posts
    6

    Automation: applying conditional formatting to group of cells in a loop

    So I would like to automate the following, as doing it by hand takes a lot of time. Is it possible? I have searched the whole internet and finished empty handed.

    Start from cell E10
    Select cell
    Move 3 cells down
    Select cell
    Move 3 cells down
    Select cell
    Move 3 cells down
    Select cell
    Move 3 cells down
    Select cell
    Move 3 cells down
    Select cell
    Move 3 cells down
    Select cell
    Apply double entry conditional formatting
    Move 3 cells down
    Repeat above until cell E5000

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Automation: applying conditional formatting to group of cells in a loop

    try this macro . what do you ant to do after selecting each cell

    Please Login or Register  to view this content.
    I am not an expert. better solutions may be available
    [email protected]

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Automation: applying conditional formatting to group of cells in a loop

    Hi, ×_×,

    you may get the code to insert as Conditional Formatting by recording a macro when you iunsert this into a single cell and compare if this matching with the code applied here:
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    07-18-2014
    Location
    Earth
    MS-Off Ver
    2013
    Posts
    6

    Re: Automation: applying conditional formatting to group of cells in a loop

    Thank you for the replies.

    HaHoBe: This seems to be what I am looking for. But now the key question remains: how can I make it apply the conditional formatting to each group of 6 cells?

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Automation: applying conditional formatting to group of cells in a loop

    Hi, ×_×,

    you would need to pass on more information than just
    But now the key question remains: how can I make it apply the conditional formatting to each group of 6 cells?
    which isn´t a key question but a new and different one to me as the starting post of this thread.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Ciao,
    Holger

+ 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] Applying Formats from Conditional Formatting to Other Cells
    By McStagger in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-14-2014, 04:02 PM
  2. Looping through cells and applying conditional formatting
    By stroberaver in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-09-2011, 07:17 AM
  3. Replies: 3
    Last Post: 01-26-2010, 08:36 PM
  4. applying formula and formatting to group of cells in a macro
    By vmd0957 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-24-2008, 04:53 PM
  5. Replies: 6
    Last Post: 11-22-2006, 02:09 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