Bonjour et merci par avance
J'ai besoin de 3 variables pour enregistrer un nom de fichier
chemin = dossier
otherRef1 est une variable que je definis manuellement
otherRef2 , ca fonctionne
Mais mon code ne fonctionne pas, merci de votre aide
Debutant en VBA
Dim chemin As String, otherRef1 As String, otherRef2 As String
chemin = "D:\Dropbox\"
otherRef1 = SBO
otherRef2 = Range("C1")
ActiveWorkbook.SaveAs Filename:=chemin & "\" & otherRef1 & otherRef2 & ".csv", _
FileFormat:=xlCSV, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False, Local:=True