Thread
:
how to count the number of occupied columns in a sheet?
View Single Post
#
1
Posted to microsoft.public.excel.programming
Mark Stephens[_3_]
external usenet poster
Posts: 15
how to count the number of occupied columns in a sheet?
I know how to count rows:
lgLastRow = Workbooks(2).Sheets(pbFundSheetNo).Cells(Rows.Coun t,
"A").End(xlUp).Row
Can the same code be adapted to count the number of used columns?
Thanks, Mark
Reply With Quote
Mark Stephens[_3_]
View Public Profile
Find all posts by Mark Stephens[_3_]