What about double letters?Originally Posted by Killian
Function ColumnLetter(Col As Long) Dim sColumn As String On Error Resume Next sColumn = Split(Columns(Col).Address(, False), ":")(1) On Error GoTo 0 ColumnLetter = sColumn End Function
What about double letters?Originally Posted by Killian
Function ColumnLetter(Col As Long) Dim sColumn As String On Error Resume Next sColumn = Split(Columns(Col).Address(, False), ":")(1) On Error GoTo 0 ColumnLetter = sColumn End Function
Last edited by Aussiebear; 04-08-2023 at 05:08 AM. Reason: Adjusted the code tags
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber