Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VB6, how can I count group of items in excel spreadsheet fields?

Status
Not open for further replies.

cassidybklyn

Programmer
Apr 23, 2007
82
US
Gentlemen and Ladies,
Please I nee your assistance. I am coding with vb6. I populated an excel spreadsheet using data from access table. I used the "CopyFromRecordset" to populate the excel spreadsheet.
Now, my xls spreadsheet has 5 fields with records(items). Each item in the field has multiple occurence of the items. For example, the "Name" field contains "John" five times, the "account Number" field has "7788" eight times and so does other fields.

What code can I use to count each field items?
Your help will be appreciated.
Have a good day everyone.
C.


 
Hi cassidy,

The correct place for this question is in forum707, the VBA forum.

HTH

Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top