1. Scott Huish

    VBA - Interior Color to HTML RGB Hex Code

    Hi, I need to be able to convert the number that Interior.Color returns to an RGB Hex Code like #005473 or #FF00EE , etc. Any ideas? Thanks.
  2. K

    display message box when cell color is red

    I have a cell with conditional formatting to turn red when a certain condition is met. is there a VBA code that will display a message box stating duplicate based on a cell color? so what I need is when a cell turns red, a message box to appear showing duplicate. here is the code I have but it...
  3. C

    How to get the Interior.Color value in one cell to change the Interior.color value of a different cell

    I am writing code to have multiple worksheets update a master worksheet and need to find a way to have the Interior.Color value in cells in one spreadsheet cause the corresponding cell in a different spreadsheet have the same Interior.color. here is the code I have so far: Option Explicit Dim...
  4. AT--o

    Sub that takes the value of a function

    Hi. In excel 2007. My function takes its arguments from cells on the same row that it is inserted. I just copy it down. The problem is I need to change the Interior of this cell (the one containing the function) according to values that while taken from operations between the arguments are not...
  5. AT--o

    Function .Interior.Color

    Application.ThisCell.Font.Color = RGB(255, 0, 0) 'WORKS. Application.ThisCell.Interior.Color = RGB(255, 0, 0) 'DOESNT WORK. Can the Interior of a cell be changed in a Function?
  6. F

    Need function to set cell color

    I have a subroutine that looks at 3 cells to get an R, G and B value, then fills a pre-defined range of cells with that color (using this: Private Sub Worksheet_Change(ByVal Target As Range) ' error checking here Range("C3:E5").Interior.Color = RGB([A1].Value, [B1].Value, [C1].Value) End Sub...

Some videos you may like

This Week's Hot Topics

  • Problem in vba vlookup
    Dear All Master, The problem I mean is as follows : 1. I want to modify the vba code because it takes too long/very slow to vlookup in VBA code...
  • VBA Vlookup
    Please for help. Why it`s not works? [CODE=vba]Sub Check_equpment1_click() Worksheets("Production_program").Activate Dim ans1 As Integer ans1 =...
  • Nesting INDEX MATCH into SUMIFS
    I currently have several formulas pulling in a SUMIFS from a data sheet, beginning with =SUMIFS('datasheet'!$N:$N, 'datasheet..... but as I am...
  • Extracting number from a range randomly
    Hello Expert, please kindly advise what is the best method to extract numbers from a range randomly I have a series of numbers in the range of A1...
  • Problem with If Formula
    I am using the following formula in cell A5. I would like if N5 is blank then A5 also return blank. If N5 is 0 or is greater than zero then equals...
  • Is there a way to make the day's name show up automatically in a header?
    I have a form I print out every day..and in the top right custom header I have the &[DATE], which automatically gives the current date in top...