My macro is below. The script works for the most part except that it gives me the following error "run time error 9 subscript out of range" and it does not rename the sheet with the value in "c13".
Also, if I do it manually, I can edit values in the new sheet but if I run the macro, the new sheet seems to be formatted as a picture and I can't edit any cells.
Any help appreciated.
Thank you.
Mike
Sub Macro7()
'
' Macro7 Macro
'
'
Range("A1:AB72").Select
Selection.Copy
Sheets.Add After:=Sheets(Sheets.Count)
ActiveSheet.Buttons.Add(600.75, 49.5, 161.25, 59.25).Select
ActiveSheet.Buttons.Add(602.25, 142.5, 162, 66).Select
ActiveSheet.Paste
Range("C13:G13").Select
Columns("L:L").ColumnWidth = 9.71
Sheets("Sheet12").Select
Sheets("Sheet12").Name = "Sheet12"
Range("C13:G13").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Sheet12").Select
Sheets("Sheet12").Name = "Pothier Homes "
Range("E10").Select
End Sub
Bookmarks