Emergency ( Adding Worksheets dynamically in Workbookds)

U

Ussiddiqui

Hi, i am in a hurrey, how to add worksheets dynamically in Excel Work
Books , i want to know this thing that how to do that with the help of
Code.
 
R

Rockee052

Just in case you want to add a name to your worksheet

Worksheets.Add
ActiveSheet.Name = ("whatever")


Rocke
 
T

Tom Ogilvy

or even:
i = Worksheets.count + 1
sName = "Sheet" & i
Worksheets.Add(after:=Worksheets(Worksheets.Count)).Name = sName
 
Top