Hi I have a SQL query returning a status code to Excel that I need to convert to text i.e. 4 = sucess
There are 11 possibilities
Select Case Range("N6")
Case "1"
Range("G6").Value = "Running"
Case "2"
Range("G6").Value = "Starting"
--- etc
End Select
My problem is I need to run this on 135 cells and can not figure out how to loop this to run on each cell like the next row N7, G7 down to N135, G135 without actually writing the select case range for each cell.
Can any one give some guidence? Thanks.
There are 11 possibilities
Select Case Range("N6")
Case "1"
Range("G6").Value = "Running"
Case "2"
Range("G6").Value = "Starting"
--- etc
End Select
My problem is I need to run this on 135 cells and can not figure out how to loop this to run on each cell like the next row N7, G7 down to N135, G135 without actually writing the select case range for each cell.
Can any one give some guidence? Thanks.