I have a text file with values in alphabetical order like this
A
Adam
Andrew
B
Beth
Betsy
C
Charles
D
Dave
Dick
Dom
I need to format just the characters A B C D etc that appears in front of each list below them so that the A B C D are all bolded & underlined and centered. I can find it ( A B C D) using the FINDNEXT command, the problem is VBA is unable to handle missing values. The list does not always contain A to Z, sometimes it does other times it might be missing a few alphabets.
A
Adam
Andrew
B
Beth
Betsy
C
Charles
D
Dave
Dick
Dom
I need to format just the characters A B C D etc that appears in front of each list below them so that the A B C D are all bolded & underlined and centered. I can find it ( A B C D) using the FINDNEXT command, the problem is VBA is unable to handle missing values. The list does not always contain A to Z, sometimes it does other times it might be missing a few alphabets.