Option Explicit
Sub sving()
Dim wb As Workbook
Dim Wbx As String
Wbx = "SSP.xlsm"
For Each wb In Workbooks
If wb.Name <> Wbx Then
wb.Close SaveChanges:=True
End If
Next wb
End Sub
You asked something about open, but ...
Your code misses any open commands.
Your code should have something about open to open something?
... or Your thread's title is something else than You're asking.