Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
cells(rowNumber,ColNumber)
Columns(ColNumber)
Sub Name_for_Col()
MsgBox ColName(230)
End Sub
Public Function ColName(intNum As Integer) As String
Dim Adr As String
If intNum > 256 Then
MsgBox "256 is the maximum for Excel Columns", _
vbExclamation + vbOKOnly, "GetColName"
Exit Function
End If
Adr = Cells(1, intNum).Address
ColName = Mid(Adr, 2, Len(Adr) - 3)
End Function
Function ColLetter(iCol As Integer)
ColLetter = Chr(64 + iCol Mod 26)
If iCol > 26 Then
ColLetter = Chr(64 + Int((iCol - 1) / 26)) & ColLetter
End If
End Function