A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
- Copy this code.
2) Right-Click the first sheet tab
3) Select "View Code"
4) Paste the code into the window that appears.
5) Save the file as a macro-enabled .xlsm file.
6) Enter values as you described - I have assumed that the entry of the title is into column A, in the first row of each range.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rngC As Range
If Target.Cells.Count > 1 Then Exit Sub
If Target.Value = "" Then Exit Sub
Set rngC = Range("A10,A19,A28,A37")
If Intersect(Target, rngC) Is Nothing Then Exit Sub
Worksheets((Target.Row - 1) / 9 + 1).Name = Target.Value
End Sub