Adding a sheet with a specific name
I need a macro that will take the name in cell A2 and see if there is a sheet
that already has that name. If there is not a sheet then I need it to create
a new sheet with the name as the name of the sheet. Is this possible?
my macro right now just searches for a sheet with the same name.
If Cells(1, 2).Value < "" Then
name = Cells(1, 2).Value
Sheets(name).Activate
how can I add the creating new sheet part?
Thanks,
Kyle
|