'return the column position from (a > zz)
Sub PoiGetColumnPos(colAlpha As String) As Int
Dim alphalist1 As List = CreateList(",","a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z")
Dim alphalist2 As List = CreateList(",","a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z")
Dim colmap As Map
colmap.Initialize
Dim l1Tot As Int = alphalist1.Size - 1
Dim l2Tot As Int = alphalist2.Size - 1
Dim l1cnt As Int
Dim l2cnt As Int
Dim colpos As Int = 0
'first alphabets
For l1cnt = 0 To l1Tot
colpos = colpos + 1
colmap.Put(alphalist1.Get(l1cnt),colpos)
Next
'rest of the alphabets
For l1cnt = 0 To l1Tot
For l2cnt = 0 To l2Tot
colpos = colpos + 1
Dim strKey As String = $"${alphalist1.Get(l1cnt)}${alphalist2.Get(l2cnt)}"$
colmap.Put(strKey,colpos)
Next
Next
Dim xpos As Int = colmap.getdefault(colAlpha.tolowercase,0)
Return xpos
End Sub