Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 21st, 2013, 11:05 AM
Registered User
 
Join Date: Sep 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Autofill color on back cell based on value

Hi, I wanted autofill color on right cell based on left value. Working on Excel 2010
I am making.
A coulum is Equipment
B coulum is description
C coulum is hours.
if C2 coulum is 2 then D2:E3 will set backcolor. If C2 is 1 then set back color only D2. if C2 value is 9 then D2:L2 will set back colour. This will continue up to 12 rows depend on value on C coulum.
Is the above possible make for the conditional fomatting? Sorry I am not expert for the VBA.

Much appreciated for you help.
Please send to my email [email protected]
 
Old December 6th, 2013, 08:44 PM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

Have you checked using conditional formatting in Excel. This should do the changes dynamically

cheers
Shasur
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Format cell based on another cell billy1r Excel VBA 1 June 15th, 2011 09:06 PM
form back color; saidan C# 2005 12 October 29th, 2007 08:16 AM
back color of cell of datagrid [email protected] VB.NET 1 November 18th, 2006 03:28 AM
How to change the back color of toolbat allenfei BOOK: Professional C#, 2nd and 3rd Editions 3 August 15th, 2005 02:37 AM
change background color of cell based on value vurtman ASP.NET 1.0 and 1.1 Basics 4 February 26th, 2004 03:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.