I think the problem is with the date. Excel won't allow a sheet name that has a / or a \ or a few other things in it. Try a non-date text in both cells and see if that gets it. It works for me. Then, as far as the rest, what error do you get if you try to use a date?
Anyway, here's my code. I have A1 and B1 with text only. A1 has the single word TODAY, and B1 has IS A GOOD DAY.
Dim name1 As String, name2 As String
name1 = ActiveSheet.Range("A1").Value
name2 = ActiveSheet.Range("B1").Value
ActiveSheet.Name = name1 & " " & name2
This renamed my sheet TODAY IS A GOOD DAY.
There is a way to get a date into a sheetname, so if it has to be that, ask again.
HTH
Thanks Jonathan,
The problem lay with the cell holding the date begin formatted with mm/dd/yy. I changed the formatting to mm-dd-yy and it worked fine.
Steve
name1 = ActiveSheet.Range("A1").Value name2 = ActiveSheet.Range("B1").Value ActiveSheet.Name = name1 & " " & name2