Dim NewWks as worksheet
set NewWks = worksheets.add
with newwks
.name = "Your New Name Here"
.range("A1").value = "Hi there"
End with
> Can I add adding a worksheet in a macro? How do I do that?
> Ex. I create a new macro. One of the steps in my macro is to insert a new
> worksheet.

Signature
Dave Peterson
eva - 06 Dec 2007 01:49 GMT
Thank you
> Dim NewWks as worksheet
> set NewWks = worksheets.add
[quoted text clipped - 6 lines]
> > Ex. I create a new macro. One of the steps in my macro is to insert a new
> > worksheet.