LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBScript to set conditional formatting for cells

Hello,
I want to accomplish two key objectives. The first and foremost is:

Have a VB Script conditionally format cells based on their contents.
I would like to have the script do:
If ŒY¹ or Œy¹ entered into the cells the fill color becomes Green
If ŒN¹ or Œn¹ is entered into the cells the fill color becomes Red
If ŒV¹ or Œv¹ or ŒVacation¹ is entered into the cell the fill color becomes
light green
If ŒNFT¹ or Œnft¹ is entered into the cell the fill color becomes another
color
This would work for the entire workbook

I may even want to change or bold the font. I have looked at a number of
scripts but have not had ay luck.

The next script I would like to add is that if ay of the information above
is entered into the cell, the case is changed to uppercase.

Any and all help is appreciated.

Thank You,
Rod

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
conditional formatting of cells cell formatting Excel Worksheet Functions 6 August 9th 07 12:33 AM
conditional formatting + VBscript John C Excel Discussion (Misc queries) 2 December 23rd 06 08:20 PM
Conditional Formatting Cells phmckeever Excel Programming 0 October 23rd 06 09:42 PM
Conditional Formatting Multiple cells based on 2 cells Louis Markowski Excel Worksheet Functions 2 June 1st 05 05:26 PM


All times are GMT +1. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"