Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2008, 02:03 AM
et5323 et5323 is offline
Novice
 
Join Date: Dec 2008
Posts: 1
et5323 is on a distinguished road
Default

Reference:
sub test()
dim rng as range
for each rng in range("a1:a5")
with rng


if .value>.offset(0,1).value then
.interior.colorindex = 3
else
.interior.colorindex = 4
end if
end with
next
end sub
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop down box in a cell Grapejuice Excel 0 10-22-2007 07:40 PM
Changing DataSource ntfirewall Mail Merge 0 03-30-2007 06:01 AM
IRR with Changing Signs aml480 Excel 0 03-16-2006 11:27 PM
FileSaveAs with Code bsmith Office 0 01-05-2006 08:43 AM
Code for Changing Cell Backgrounds Question concerning Backgrounds and fading. NYCorBUST PowerPoint 2 12-29-2005 09:05 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft