LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Using VBA coding to count color Occurrences

Hi:

I am using Office (Word, Excel, and Powerpoint) 2007, and Windows 7, and
below is what I'm trying to accomplish, hopefully, with VBA coding:

In Columns L & M I have dates that identify a beginning and end date for a
class (L is "beginning" date and M is "end date") that a student has signed
up for. If the student has not paid for their class, the class dates in
Columns L & M are in "bold red font". Once payment has been made, the font
changes from "bold red" to "unbold black" thanks to conditional formatting.
This works just fine. However, I'm trying to accomplish two additional things
that I'm having trouble with, and wasn't sure if VBA coding may be my answer:

Issue 1:

I'd like coding that gives a numerical outcome of how many clients,
scheduled for a class have not yet paid for their class (in other words,
count all bold red font in Column L as this would identify the number of
individuals who haven't paid. If the font is anything but bold red, than this
should not be counted, as the font color automatically turns to unbolded and
black once a client is identified (via a specific date in Column K) as paid.
This numerical outcome (clients who have not yet paid) should appear in cell
K3.

Issue 2:

I'd like coding that merely gives me a flag which states: "Pending Balances"
if the font color in color is Column L is red and bold. This flag should
appear in cell L3.

Thanks very much for any help in advance!

Dan

 
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
Count occurrences when two conditions are met Steve Excel Discussion (Misc queries) 1 August 3rd 09 04:44 PM
Count how many occurrences Sunnyskies Excel Discussion (Misc queries) 3 March 17th 09 01:11 PM
How do I count repeat Occurrences kevhatch Excel Discussion (Misc queries) 5 May 25th 08 02:49 AM
trying to COUNT occurrences when certain criteria is met Allan from Melbourne Excel Discussion (Misc queries) 4 August 2nd 06 11:01 AM
Count unique occurrences of name jhicsupt Excel Discussion (Misc queries) 4 October 5th 05 05:46 PM


All times are GMT +1. The time now is 04:38 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"