Bonjour,
Copie ce code dans un module standard de ton fichier.
Effectue un filtre puis exécute la procédure.
A te relire.
Cdlt.
Option Explicit
Public Sub Export_en_CSV()
Dim myPath As String, myFile As String
Dim wb As Workbook
Dim ws As Worksheet
Application.ScreenUpdating = False
myPath = ActiveWorkbook.Path & Application.PathSeparator
Set wb = ThisWorkbook
Set ws = wb.ActiveSheet
myFile = ws.Name & Format(Now, "ddmmyy hhmm")
ws.Cells(1, 1).SpecialCells(xlCellTypeVisible).Copy
Workbooks.Add (xlWBATWorksheet)
Worksheets(1).Cells(1, 1).PasteSpecial xlPasteValuesAndNumberFormats
ActiveWorkbook.SaveAs _
Filename:=myPath & myFile, _
FileFormat:=xlCSV, _
CreateBackup:=False, _
Local:=True
ActiveWorkbook.Close False
Set ws = Nothing: Set wb = Nothing
End Sub