Hi, Please find the attached workbook with the solution. Consider the Cell A1 and watch the Conditional Formatting logics.
Thanks, -- DILIP KUMAR PANDEY MBA-HR,B COM(Hons.),BCA Mobile: +91 9810929744 dilipan...@gmail.com dilipan...@yahoo.com New Delhi - 110062 On Wed, May 6, 2009 at 5:04 PM, xxx <lavanyaredd...@gmail.com> wrote: > > I need help in writing this macro > > if the cell content is empty fill it with Red > if cell content contains "Y" then fill it with Yellow > if no "Y" and any content then fill it with Green > > thanks...its urgent > > > > --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---
Conditonal Formatting - DKP.xls
Description: MS-Excel spreadsheet