- Katılım
- 6 Eylül 2007
- Mesajlar
- 657
- Excel Vers. ve Dili
- excel 2016 32 Bit ve Excel 2020 32 Bit Türkçe ve İngilizce
Arkadaşlar;Aşağıdaki kod'lar ile çalışma kitabıfarklı kaydediliyor, benim isteğim çalışma kitabındaki macrolar hariç kaydedilsin , bu mümkünmü aşağıdaki kod'lar macrolar hariç kayded şekilde nasıl düzenlenebilir..
Sub Enregistre_Sous2()
Réponse = MsgBox("Dosyanızı Farklı Kaydetmek İstiyormusunuz ?", vbYesNo)
If Réponse = vbYes Then
Dim nom As String
Do While nom = ""
'Répète l'instruction tant qu'aucun nom est donné
nom = InputBox("Lütfen Farklı Dosya Adı Giriniz !" & Chr(13) & "Exemple: Rapport")
Loop
ChDrive "c"
ChDir "c:\" 'Indiquez le répertoire
ActiveWorkbook.SaveAs Filename:=(nom)
Application.Dialogs(xlDialogSaveAs).Show
'pour afficher la boîte Enregistrer sous
End If
End Sub
Sub Enregistre_Sous2()
Réponse = MsgBox("Dosyanızı Farklı Kaydetmek İstiyormusunuz ?", vbYesNo)
If Réponse = vbYes Then
Dim nom As String
Do While nom = ""
'Répète l'instruction tant qu'aucun nom est donné
nom = InputBox("Lütfen Farklı Dosya Adı Giriniz !" & Chr(13) & "Exemple: Rapport")
Loop
ChDrive "c"
ChDir "c:\" 'Indiquez le répertoire
ActiveWorkbook.SaveAs Filename:=(nom)
Application.Dialogs(xlDialogSaveAs).Show
'pour afficher la boîte Enregistrer sous
End If
End Sub
