T
Tim Childs
Hi
from Chip Pearson's site (I think) I got the following code:
Function ColumnLetter(R As Range) As String
ColumnLetter = Left(R.Address(False, False), _
1 - (R.Column > 26) - (R.Column > 702))
End Function
I was dead impressed as it does the trick in getting the column letters out
in Excel 2007 etc
My question is that the value true must have a value of minus one whereas I
thought it was nought as in Excel formulae. Can anyone give a simple
explanation, please?
Many thanks
Tim
from Chip Pearson's site (I think) I got the following code:
Function ColumnLetter(R As Range) As String
ColumnLetter = Left(R.Address(False, False), _
1 - (R.Column > 26) - (R.Column > 702))
End Function
I was dead impressed as it does the trick in getting the column letters out
in Excel 2007 etc
My question is that the value true must have a value of minus one whereas I
thought it was nought as in Excel formulae. Can anyone give a simple
explanation, please?
Many thanks
Tim