xavierhussenet
New Member
- Joined
- Mar 25, 2011
- Messages
- 2
Hello all!
In Ch 4, User-Defined Functions, I can't find the definitions or help files explaining the red highlighted code in the following short function:
Function ColName(Rng As Range) As String
'Page 98
' Rng —The cell for which you want the column letter.
ColName = Left(Rng.Range("A1").Address(True, False), _
InStr(1, Rng.Range("A1").Address(True, False), "$", 1) - 1)
End Function
I tried placing the cursor in each and doing F1, but that does not help. Basically I need to know what .Address(True, False) actually does, and where other dot functions and arguments with a cell inside a range are defined and explained in the Excel VBA help files. Also, is "$" a marker for something like integers, or ar we actually looking for the first $ char?
I know this has to be simplistic, but I need to find out what is actually going on here and comments are sparse in the text.
Thanks,
Xavier
In Ch 4, User-Defined Functions, I can't find the definitions or help files explaining the red highlighted code in the following short function:
Function ColName(Rng As Range) As String
'Page 98
' Rng —The cell for which you want the column letter.
ColName = Left(Rng.Range("A1").Address(True, False), _
InStr(1, Rng.Range("A1").Address(True, False), "$", 1) - 1)
End Function
I tried placing the cursor in each and doing F1, but that does not help. Basically I need to know what .Address(True, False) actually does, and where other dot functions and arguments with a cell inside a range are defined and explained in the Excel VBA help files. Also, is "$" a marker for something like integers, or ar we actually looking for the first $ char?
I know this has to be simplistic, but I need to find out what is actually going on here and comments are sparse in the text.
Thanks,
Xavier