chk this Regards Harish Upadhyay
On 3/25/09, xxx <lavanyaredd...@gmail.com> wrote: > > > Hi all, > I need some help since i an beginner in vba programming > I have say an excel table as below: > > 1 2 3 4 5 > 2 3 4 5 6 6 78 8 9 > hdg dg gdh gj > fsf > sf sfs sfs sf > > in this table I have to count number of occupied cells in every row > > in first row the result should be 5 > In second row: 9 > third row: 4 > fourth row : 1 > and in fifth : 4 > > Thank you for any help > > > > --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---
Counta.xls
Description: MS-Excel spreadsheet