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 / Programming / April 2008

Tip: Looking for answers? Try searching our database.

logical expressions of formats

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
will seymour - 17 Apr 2008 22:42 GMT
I am trying to create an if statement that will count a cell it the font is a
particular color, I just don't know the syntax of the logical expression

ex
if(A5.font = "blue"), 1, "  ")
will place a 1 in the destination cell when A5 is blue I just have no idea
how to reference the format
Dave Peterson - 17 Apr 2008 23:22 GMT
You'll need some VBA.

Chip Pearson explains it here:
http://cpearson.com/excel/colors.aspx

> I am trying to create an if statement that will count a cell it the font is a
> particular color, I just don't know the syntax of the logical expression
[quoted text clipped - 3 lines]
> will place a 1 in the destination cell when A5 is blue I just have no idea
> how to reference the format

Signature

Dave Peterson

 
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.