I have this code is working all perfect, but only change is need that it will take the sheet name from the range and range will be till the end of the records.
VBA Code:
Dim ws As Worksheet
Application.DisplayAlerts = False 'Optional
For Each ws In Worksheets
Select Case ws.Name
'Include sheet names to keep on next line (with comma between)
Case Sheets("Report").Range("a1").Value, Sheets("Report").Range("a2").Value
' Modify to check the sheet name till the end of the row
'Do nothing
Case Else
ws.Delete
End Select
Next ws
Application.DisplayAlerts = True