Bonjour a toutes et tous, Forum bonjour,
Bonjour Dubois,
Je te remercie beaucoup pour le code il fonctionne parfaitement, je l'ai adapter a mon programme en cours et tout va bien.
(1) Pour ce qui est de l'alignement avec les codes que j'ai mis ca va pas, SVP quels sont les bons codes a mettre.
(2) Comment SVP forcer le lecteur Windows média player a s'ouvrir pil poil a l'endroit de mon choix.
Sub Listing()
Application.ScreenUpdating = False
Dim Lg%, i%, X
Lg = Range("A1800").End(xlUp).Row
With Range("A4:A" & Lg).Font
'.VerticalAlignment = xlCenter
'.HorizontalAlignment = xlCenter
.Bold = False
.Name = "Arial"
.ColorIndex = 1
.Size = 8
End With
Lg = Range("A1800").End(xlUp).Row
For i = 4 To Lg
X = Split(Cells(i, 1), ".")
Cells(i, 1) = X(0)
Cells(i, 1).NumberFormat = "@"
Next i
Application.ScreenUpdating = True
End Sub
Voila en tout cas merci pour ton savoir, je n'aurai pas su faire pour enlever l'extention.
Bien je te souhaite un excellent Dimanche ainsi qu'a tous le monde.
Raymond