Gruppe
Datei
Problem
In Zelle B3 habe ich den Vor-, in Zelle B4 den Nachnamen stehen. Wie kann ich die Datei unter der Namenssyntax "Bill Gates.xls" speichern?
StandardModule: basMain
Sub UnterNamenSpeichern()
Dim sFile As String, sPath As String
sPath = Application.DefaultFilePath & "\"
sFile = Range("B2").Value & "_" & _
Range("B1").Value & ".xls)"
ActiveWorkbook.SaveAs sPath & sFile
End Sub