Hi, I wonder whether someone may be able to help me please.
I'm using the code below to search column B on the "All Data" sheet, and where a unique value is found create a new sheet and use the value from column B as the sheet name.
The question I have is could someone perhaps tell me please how I can assign a variable to create an array when the new sheets are created.Please Login or Register to view this content.
I'm assuming that the change is needed here, Worksheets.Add(After:=Sheets(Sheets.Count)).Name = rng.Value but I may very well be wrong.
Many thanks and kind regards
Chris
Bookmarks