S
simonc
Hello,
Can anyone help please,
I have three cols each with seperate numbers in them depending on wha
number range it is in each col, it represents a low, med or high.
I am trying to gauge what this is and setting it to a varible or w
seebelow and then paste what it set w$ to a cell.
Can anyone see what is wrong, As you can see not Im not the best a
doing this stuff.

Sub Totals()
'
Let w$ = "blank"
Let gl$ = 0
Let gm$ = 0
Let gh$ = 0
Let al$ = 0
Let am$ = 0
Let ah$ = 0
Let crl$ = 0
Let crm$ = 0
Let crh$ = 0
Range("B2").Select
Let g$ = ActiveCell
Range("C2").Select
Let A$ = ActiveCell
Range("D2").Select
Let CR$ = ActiveCell
If g$ <= 18 Then Let w$ = "L"
If g$ >= 19 <= 25 Then Let w$ = "M"
If g$ >= 26 Then Let w$ = "H"
Range("G1").Select
ActiveCell.Paste (w$
Can anyone help please,
I have three cols each with seperate numbers in them depending on wha
number range it is in each col, it represents a low, med or high.
I am trying to gauge what this is and setting it to a varible or w
seebelow and then paste what it set w$ to a cell.
Can anyone see what is wrong, As you can see not Im not the best a
doing this stuff.

Sub Totals()
'
Let w$ = "blank"
Let gl$ = 0
Let gm$ = 0
Let gh$ = 0
Let al$ = 0
Let am$ = 0
Let ah$ = 0
Let crl$ = 0
Let crm$ = 0
Let crh$ = 0
Range("B2").Select
Let g$ = ActiveCell
Range("C2").Select
Let A$ = ActiveCell
Range("D2").Select
Let CR$ = ActiveCell
If g$ <= 18 Then Let w$ = "L"
If g$ >= 19 <= 25 Then Let w$ = "M"
If g$ >= 26 Then Let w$ = "H"
Range("G1").Select
ActiveCell.Paste (w$