For i = i To nr_commercial
Cells(i, 1) = commercial & RandBetween(1, 6)
Next i
Hi All - I have the above but I am not able to solve it. It returns a compiler error every time. I'm having issues putting a string plus a formula together.
commercial is defined as a string
I have even tried
Cells(i, 1) = commercial & = Randbetween(1,6)
and it returns error saying expecting expression. Is there something not right with the randbetween functionality?
I need to have output in cells such like:
commercial-1
commercial-5
commercial-3
For i = i To nr_commercialnot beFor i = 1 To nr_commercial? The problem is ifiis 0 inCells(i, 1), then this will throw the error.