[mso] VERY bottom most used cell?

Two problems.
Hello. In my formula, to find the largest width of text in a column of cells
used in a column I use =COUNTA(A:A), which I have typed as
=MAX(LEN(A2:A50000)) which works. If I extend that the bottom,
=MAX(LEN(A2:A65536)), it gives me an error. How can I go that deep? Some
cells are blank, would that cause an error?

I am not succeeding in my formulas to find the *LAST* used cell in a column.
That is, using ActiveSheet.UsedRange will return 2 instead of the desired 5.
I do want the blanks in between non-blanks counted, but do not want to count
blanks after the last used cell in a column.
        A       B       C
1       Smith   Joe     23
2       Anders  Jan     43
3               Frank   32
4               Deb     54
5       Brown   Ann     32
6               John    32

I am looking for the formula to return 5, not 2 for column A, 6 for column
B.
Robert

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: