M
matiousky
Guest
Bonjour,
J'ai un code qui marche mais cependant si le nom du classeur = 1 seul mot.
Si je renomme mon classeur avec plusieurs mots, alors mon code ne marche plus.
Pouvez-vous m'aider?
Voici mon code:
Dim nom As String
Application.ScreenUpdating = False
Sheets("Simulation").Select
nom = ActiveWorkbook.Name & "!Maz"
Application.Run nom
Range("G33").Select
Une fois le fichier renommé, le bug intervient au niveau de la ligne
Application.Run nom
Merci de votre aide,
Mat
J'ai un code qui marche mais cependant si le nom du classeur = 1 seul mot.
Si je renomme mon classeur avec plusieurs mots, alors mon code ne marche plus.
Pouvez-vous m'aider?
Voici mon code:
Dim nom As String
Application.ScreenUpdating = False
Sheets("Simulation").Select
nom = ActiveWorkbook.Name & "!Maz"
Application.Run nom
Range("G33").Select
Une fois le fichier renommé, le bug intervient au niveau de la ligne
Application.Run nom
Merci de votre aide,
Mat