[mso] Re: Ideas for counting unlocked cells in each row in Excel 2000

  • From: "Ray Blake" <ray@xxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Wed, 17 Sep 2003 14:57:56 +0100

Have you considered creating a user-defined function in VBA?

The function could loop through each cell in the selected range and
count how many had the 'locked' property set.

Ray Blake
GR Business Process Solutions


-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Donald Smith
Sent: 17 September 2003 14:31
To: mso@xxxxxxxxxxxxx
Subject: [mso] Ideas for counting unlocked cells in each row in Excel
2000

I am familiar with the count function in Excel 2000, but I have a grid
for 
tracking purposes which changes month to month.  The basic pattern of
the 
grid remains the same so I have it setup so I can copy and paste certain

sections of the grid and no reformatting is necessary, so that solved
one 
problem, but to explain how the grid looks, it looks similar to a large 
crossword puzzle.  Some cells have the default white background (which
are 
NOT locked) and others have a gray background (which ARE locked).  On a 
per row basis I need to know how many white background UNlocked cells
are 
in each row.  If someone can offer some advise on how to do this without

physically counting them or having to manually populate each cell with a

character it would be great.
Thanks 
Don

Ps. I took Linda's advise and bought the Outlook spam filter, seems to
be 
working great so far.  I did enter in the form where I heard about it.
Thanks Again
Don

---------------------------------------------
This message was sent using Road Runner's Web-based
e-mail.

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the
quotes) in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will
also allow you to change your email settings to digest or vacation (no
mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group,
send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an
invitation with instructions.  Once you are a member of the files group,
you can go here to upload/download files:

http://www.smartgroups.com/vault/msofiles
*************************************************************

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: