Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello: Here's my code. I want to look for anything that contains the
following values: "Option1" and "Option2". Sometimes it will be the single value in the cell, somtimes it will be part of a string. I have tried numerous syntaxes, but am coming up empty. HELP~ Dim Mark As Range For Each Mark In Union([D6:F1200], [AF6:AF1200]).Cells Select Case Mark.Value Case "Option1" Mark.Font.ColorIndex = 55 Mark.Font.Bold = True Case "Option2" Mark.Font.ColorIndex = 55 Mark.Font.Bold = True Case Else Mark.Font.Color = vbBlack Mark.Font.Bold = False End Select Next |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lower case letter "i" always converts to upper case | Excel Discussion (Misc queries) | |||
Converting "uppercase" string data to "lower case" in CSV file | Excel Discussion (Misc queries) | |||
VB Script: Code for "Sheets in selection" | Excel Discussion (Misc queries) | |||
how do I count only lower case "x" and exclude upper case "X" | Excel Worksheet Functions | |||
Using "Cells" to write "Range("A:A,H:H").Select" | Excel Programming |