Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Sub to make text bold

Hello, I have looked at several examples on here and the web and can't
figure out how to make a sub that will make text in a row bold based on
certain words in column being there.

What I'm hopin to do is select a column in my worksheet and run a sub
that will make all the information in a row bold in the seleceted cell
contains Total Transactions.

Any help or examples of close code are appreciated.


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Sub to make text bold


For Each cell In Selection
If cellValue = "Total Transactions" Then
cell.Font.Bold = True
End If
Next cell

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"ksnapp " wrote in message
...
Hello, I have looked at several examples on here and the web and can't
figure out how to make a sub that will make text in a row bold based on
certain words in column being there.

What I'm hopin to do is select a column in my worksheet and run a sub
that will make all the information in a row bold in the seleceted cell
contains Total Transactions.

Any help or examples of close code are appreciated.


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make ZERO red and bold Marz Excel Discussion (Misc queries) 6 February 1st 10 07:50 PM
Can i make text in cells c60@n60 bold & black if sum of C59 is gre Spartan C10 Excel Worksheet Functions 7 February 7th 09 08:30 PM
Join bold and non-bold text in one cell bkincaid Excel Discussion (Misc queries) 3 March 21st 06 12:58 AM
How do you make some characters in a cell bold and some not? tracman Excel Discussion (Misc queries) 4 March 28th 05 05:17 AM
How to edit the size and make it bold of the Option Button text? Cammie Excel Discussion (Misc queries) 1 February 23rd 05 01:57 AM


All times are GMT +1. The time now is 11:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"