+ Reply to Thread
Results 1 to 3 of 3

Case Select .Interior.Color = RGB(195.195,195) for range

  1. #1
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Case Select .Interior.Color = RGB(195.195,195) for range

    Good day,
    I have the following code in a userform:

    Please Login or Register  to view this content.
    I need to add for each Case a different range .Interior.Color = RGB(195.195,195)

    So
    Case1 would run the code but also add the color to the ActiveCell.Row(C and D) = RGB(195.195,195)
    Case2 would run the code but also add the color to the ActiveCell.Row(A-C and D) = RGB(195.195,195)
    Case3 would run the code but also add the color to the ActiveCell.Row(A and B) = RGB(195.195,195)
    Case4 would run the code but also add the color to the ActiveCell.Row(A-B and C) = RGB(195.195,195)

    How would I insert this in each case?

  2. #2
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: Case Select .Interior.Color = RGB(195.195,195) for range

    .............Bump

  3. #3
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: Case Select .Interior.Color = RGB(195.195,195) for range

    I am playing with something like:

    Please Login or Register  to view this content.
    but giving me an error

+ 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. Find next cell in range with interior color
    By allenz0rz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-08-2014, 03:05 PM
  2. [SOLVED] Select next cell in active row with no interior color set
    By Spritz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 02:07 PM
  3. [SOLVED] Range: changing interior color
    By Jim Brass in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2005, 12:10 AM
  4. [SOLVED] color the interior of a range
    By Pierre via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-02-2005, 06:17 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