Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / June 2007

Tip: Looking for answers? Try searching our database.

Conditional background if a cell in the range is empty

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anika V. Bristalli - 11 Jun 2007 16:49 GMT
My apologies if this has already been addressed, but I could not quite
find the exact answer in the previous topics. I am trying to create a
macro that does the following:

* There is a user-selected range (R1)
* The macro goes through each cell in Column 3 of the selected range
(R1.Columns(3)), and checks if a cell is empty or not. If the cell is
empty, then the macro colors this cell plus the seven adjacent cells
to the right of it in grey.
* The macro terminates when it reaches the end of the selected range
R1.

I know the basic concepts, but seem to be missing something with
regards to syntax or something as I am fairly new to excel vba. So, I
would appreciate any suggestions as to how to properly code this
thing. Thank you!
Barb Reinhardt - 11 Jun 2007 18:54 GMT
Please post what you have so far.

> My apologies if this has already been addressed, but I could not quite
> find the exact answer in the previous topics. I am trying to create a
[quoted text clipped - 12 lines]
> would appreciate any suggestions as to how to properly code this
> thing. Thank you!

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.