HI everyone..
I have a VB Project that fills in a spreadsheet. I need to get the count of a the number of cells in a given range
G1:G62 that are not empty. the data put in there is ALWAYS a string. Using the CountIF() function in Excel I can define the Range but do not know how to tell it "Count it if it contains any letter". or is there a better function to use for this?
Also, since the range of cells will never be more than what G1:G62, would it be a good idea for me to Name that Range "CountIt"? I think it may be easier for further programming, but I have VERY limited knowledge in programming to Excel.
Thanks
Michael
I have a VB Project that fills in a spreadsheet. I need to get the count of a the number of cells in a given range
G1:G62 that are not empty. the data put in there is ALWAYS a string. Using the CountIF() function in Excel I can define the Range but do not know how to tell it "Count it if it contains any letter". or is there a better function to use for this?
Also, since the range of cells will never be more than what G1:G62, would it be a good idea for me to Name that Range "CountIt"? I think it may be easier for further programming, but I have VERY limited knowledge in programming to Excel.
Thanks
Michael