Home
|
Contact Us
|
FAQ
|
Search & Site Map
|
Link to Us
Sign In
|
Join
|
Other 45 Sites in Network
Home
Discussions
Access
Excel
InfoPath
Outlook
PowerPoint
Publisher
Word
Directory
User Groups
Related Topics
Outlook Express
Internet Explorer
Windows
MS Server Products
More Topics ...
MS Office Forum
/
Excel
/
New Users
/
January 2006
Tip:
Looking for answers? Try searching our database.
How to use count in range of cells
Thread view:
Tree View
List View (postings sorted by date)
Single Message View
Enable EMail Alerts
Start New Thread
Thread rating:
nieuws
- 13 Jan 2006 17:45 GMT
=count(B2:J10)
works in a macro, but how to use this function in VBA?
Hans
Reply to this Message
JE McGimpsey
- 13 Jan 2006 17:50 GMT
One way:
Dim nResult As Long
nResult = Application.Count(Range("B2:J10"))
> =count(B2:J10)
>
> works in a macro, but how to use this function in VBA?
> Hans
Reply to this Message
nieuws
- 13 Jan 2006 21:43 GMT
It works! Thanks
Hans
Reply to this Message
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.