J
John Tudor
Originally this was used to create an alpha listing. I use this to
create hiearchy and need the code to count upwards from 1 by 1 as high
as is needed. (probably at least to three digits).
Code being used:
lastletter = "1"
Cells(2, 16) = lastletter
For intalpha = 3 To Cells(65536, 3).End(xlUp).Row
If Cells(intalpha, 2) = 0 Then lastletter = Chr(Asc(lastletter) + 1)
Cells(intalpha, 16) = lastletter
Next intalpha
** Posted via: http://www.ozgrid.com
Excel Templates, Training, Add-ins &
Software!http://www.ozgrid.com/Services/excel-software-categories.htm **
create hiearchy and need the code to count upwards from 1 by 1 as high
as is needed. (probably at least to three digits).
Code being used:
lastletter = "1"
Cells(2, 16) = lastletter
For intalpha = 3 To Cells(65536, 3).End(xlUp).Row
If Cells(intalpha, 2) = 0 Then lastletter = Chr(Asc(lastletter) + 1)
Cells(intalpha, 16) = lastletter
Next intalpha
** Posted via: http://www.ozgrid.com
Excel Templates, Training, Add-ins &
Software!http://www.ozgrid.com/Services/excel-software-categories.htm **