Zur Zeit nutze ich folgenden Code:
Sub Speichern()
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:="C:\Users\firato\Desktop\Praxismodul\Praxismodul3\ _
Versuchsordner_Analyseergebnisse_Partikelfalle\" & "Partikelfallenanalyse" & "_" & Cells(7, 7). _
Value & "_" & Cells(8, 7).Value & "_" & Format(Date, "dd.mm.yyyy") & ".xls", FileFormat:=xlWorkbookNormal
End Sub
Ich würde die Filename jedoch so haben wollen:
Filename:="C:\Users\firato\Desktop\Praxismodul\Praxismodul3\Versuchsordner_Analyseergebnisse_Partikelfalle\"[Variable] ...
Die Variable steht in Cells(8,7).Value
Ich bedanke mich im Voraus.