Presently, this one works, but there must be an easier way?!
Dim z As Integer
Dim rge As String
Dim rgestr As String
Dim shortened As String
Dim howmany As Integer
'
z = 5
rgestr = Str(z)
howmany = Len(rgestr)
shortened = Right(z, howmany - 1)
rge = "A" + shortened
Range(rge).Select
'
' and so on ........
2006-09-05
02:16:19
·
5 answers
·
asked by
Marianna
6
in
Computers & Internet
➔ Programming & Design
Clarification: I want to address a cell in Excel using an indirect method because I will use a loop.
The problem is that "A"+str(5) causes a space between the A and the 5. (btw: using & instead of + has the same result.
2006-09-05
02:29:44 ·
update #1