Good Afternoon
I have a vb statement in my excel macro that I need to dynamically change the workbook sheet just created as the macro loops.
the current statement is
[Sheet1!A1:J1].Resize(N).Value2 = S
after that i have a line that adds a new sheet to the workbook
Sheets.Add After:=Sheets(Sheets.Count)
Then loop back to the statement
[Sheet1!A1:J1].Resize(N).Value2 = S
how would I code to use the sheet just created?
Thanks
I have a vb statement in my excel macro that I need to dynamically change the workbook sheet just created as the macro loops.
the current statement is
[Sheet1!A1:J1].Resize(N).Value2 = S
after that i have a line that adds a new sheet to the workbook
Sheets.Add After:=Sheets(Sheets.Count)
Then loop back to the statement
[Sheet1!A1:J1].Resize(N).Value2 = S
how would I code to use the sheet just created?
Thanks