+ Reply to Thread
Results 1 to 7 of 7

VBA Conditional Formating

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    32

    VBA Conditional Formating

    Hi Guys,

    I have a rollbook that has been validated to take a number of markings.

    What I would like it to do is when the cell value is say "IA","IB","IC", the cell color is changed to black and every cell in that row until the 31st day is blacked out.

    I would use traditional conditional formatting, but there are about 8 different values that need to able to do this.

    Cheers,

    Rob.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: VBA Conditional Formating

    Are you using 2003 as your profile says? (reason I ask is that at 1 point, the server was putting in 2003 by default)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: VBA Conditional Formating

    Hi Ford,

    Yes, I'm using 2003, my workplace's policy on software currency is non existant. lol

    Cheers,

    Rob.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: VBA Conditional Formating

    OK then if you need 8 rules (colors), then VBA is the way to go. 2003 only allows 3 rules, unfortunayely VBA is not my strong suite

  5. #5
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: VBA Conditional Formating

    Bump.

    I'll add more information if this will help with you VBA gurus.

    Range is I6:AM205
    If any cell value = "IA","IB","IC","ID" etc.
    Then the cell containing "IA","IB" etc. and any cell to the right of it until the end of the range will be black.

    Thanks again!

  6. #6
    Registered User
    Join Date
    12-02-2013
    Location
    Leicester
    MS-Off Ver
    Excel 2010
    Posts
    83

    Re: VBA Conditional Formating

    I have had the same issue and they have come up with a soultion on this thread

    http://www.excelforum.com/excel-prog...condtions.html

  7. #7
    Registered User
    Join Date
    11-06-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: VBA Conditional Formating

    Please Login or Register  to view this content.
    So this will give the me conditional formatting I require for single cells classified as above.

    Is there away to write a VBA code that does the following:

    Check cell to the right for conditional formatting, copy if yes, contained within a range?

    Cheers,

    Rob.

+ 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: 5
    Last Post: 03-14-2014, 04:03 AM
  2. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  3. Replies: 6
    Last Post: 08-14-2006, 05:00 PM
  4. Replies: 2
    Last Post: 03-27-2006, 12:10 PM
  5. Install dates formating using conditional formating?
    By Jerry Eggleston in forum Excel General
    Replies: 2
    Last Post: 11-09-2005, 01:49 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