Something like
You would need to check if the name exists to prevent an error![]()
Sub addSht() Worksheets.Add after:=(Worksheets.Count) ActiveSheet.Name = Format(Date - 31, "MMM") End Sub
Something like
You would need to check if the name exists to prevent an error![]()
Sub addSht() Worksheets.Add after:=(Worksheets.Count) ActiveSheet.Name = Format(Date - 31, "MMM") End Sub
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks