Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

convert excel cellname to index python

Function columnNumber(colLetter As String) As Integer

    Dim colNumber As Integer
    Dim i As Integer

    colLetter = UCase(colLetter)
    colNumber = 0
    For i = 1 To Len(colLetter)
        colNumber = colNumber + (Asc(Mid(colLetter, Len(colLetter) - i + 1, 1)) - 64) * 26 ^ (i - 1)
    Next

    columnNumber = colNumber

End Function
Comment

PREVIOUS NEXT
Code Example
Python :: assigning a value to a character in string or text file in python 
Python :: (908) 403-8900 
Python :: django rest framework encrypt passwors 
Python :: raspberry pi pygame play thru bluetooth device 
Python :: oscillating fan 
Python :: torch print floating precision 
Python :: how to make turtle shape image smaller 
Python :: how to use Py-agender for projects 
Python :: python qt grid span 
Python :: gfrequency listing in pandas 
Python :: how to i print oin pyhton 
Python :: fill misssing values using sklrean 
Python :: download viper for python ubutunu 
Python :: how to change array of arrays to simpe array 
Python :: how to form a list from a file in python 
Python :: introduction to sets python3 
Python :: Get the first item from an iterable that matches a condition 
Python :: uninstall python 2.7 in ubuntu 
Python :: python get all items from generator 
Python :: how to download multiple googel images using python 
Python :: how i rwrite conditon to create 1 or 0 label from two probability column python 
Python :: Find python background process id 
Python :: python intitialize a 2d matrix 
Python :: python increment char a to b az to ba 
Python :: merge namedtuple python 
Python :: 2D array questions python 
Python :: append to a ldictionary value list 
Python :: all classification algorithim compare 
Python :: django get all models 
Python :: python project 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =