Coucou le forum,

Je n'arrive pas à combiner ceci:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
Set wk = Workbooks.Add
wk.SaveAs "C:\Documents and Settings\Chewi\Desktop\C4\" & ComboBox1 & " - " & TextBox1 & " - " & ComboBox2 & ".xls"
Avec ceci:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
Worbooks.Add Template:= _ "C:\Documents and Settings\Chewi\Application Data\Microsoft\Modèles\2chC4.xlt"

Erreur : ("Expected: end of statement"), comment faire?

Ceci ne fonctionne pas:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
Set wk = Workbooks.Add Template:= _
"C:\Documents and Settings\Chewi\Application Data\Microsoft\Modèles\2chC4.xlt" wk.SaveAs "C:\Documents and Settings\Chewi\Desktop\C4\" & ComboBox1 & " - " & TextBox1 & " - " & ComboBox2 & ".xls"
Où est le problème ?
Et comment faire?

Merci à vous.