sheet names

L

Lorraine

I would like to name a sheet reference back to a cell.
Example: If I type a client's name in cell B4, I want a
new sheet created with the name of that entry.
 
D

Don Guillett

right click sheet tab>view code>copy/paste this.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.address <> "$B$4" Then Exit Sub
Sheets.Add.Name = Target
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top