In one cell I had the number five and as a result, I needed five new worksheets added to the file how would I do this:
I don't know if this will work, but something like this:
Code
'A1 = 5
i = A1
For each i in Column a
Worksheets.add
sheet.name = "Sales Order" & i 'naming the new worksheet
Next
thanks in advance