PC Review


Reply
Thread Tools Rate Thread

Check 1 cells value and use the result to change another cells for

 
 
BigAl
Guest
Posts: n/a
 
      23rd Dec 2008
I need help to create a program in Excel 2003 that will check the number in
one cell, and if more that ten, change the format of a previous cell in the
same row to bold.
And then continue to do the same until the end of the spreadsheet.
So the first Yes in column A will be bold but not the second Yes
A B C D
Yes xx yy 11
Yes xx yy 09
Thanks
BigAl
 
Reply With Quote
 
 
 
 
BigAl
Guest
Posts: n/a
 
      23rd Dec 2008
Works like a charm. Thanks for your expertise.
BigAl


"mudraker" wrote:

>
> Sub BoldFont()
> Dim lLR As Long
> Dim l4Row As Long
>
> lLR = Cells(Rows.Count, "a").End(xlUp).Row
> For l4Row = 1 To lLR Step 1
> If Cells(l4Row, "d").Value > 10 Then
> Cells(l4Row, "a").Font.Bold = True
> Else
> Cells(l4Row, "a").Font.Bold = False
> End If
> Next l4Row
> End Sub
>
>
> --
> mudraker
>
> If my reply has assisted or failed to assist you I welcome your
> Feedback.
>
> www.thecodecage.com
> ------------------------------------------------------------------------
> mudraker's Profile: http://www.thecodecage.com/forumz/member.php?userid=18
> View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=43607
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
linking cells in a column (result) to cells in a row (source) Wes_A Microsoft Excel Programming 0 11th Mar 2010 06:17 AM
How to show all formulas of cells in cells (and not the calculated result) ? Keith Clark Microsoft Excel Misc 10 5th Apr 2009 10:21 PM
How to show all formulas of cells in cells (and not the calculated result) ? Keith Clark Microsoft Excel Programming 0 4th Apr 2009 09:41 AM
Change font and background color of several cells based on result of a formula Zenaida Microsoft Excel Misc 2 27th Apr 2006 06:46 PM
Crosstab result returns blank cells, how do I change to show zero's? =?Utf-8?B?UnVzc2VsbA==?= Microsoft Access Queries 4 19th May 2004 06:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:41 PM.