Voila, j'ai tout essayé mais sans succes, la commande sendmail ne fonctionne pas dans une de mes macros, ou je veux envoyer un onglet d'un classeur excel par mail via outlook express.
quelqu'un pourrais t il m'aider, je crois que je vais finir par ne plus avoir du tout de cheveux sinon lol
Merci beaucoup.
je vous fait copie du script qui merde:
Sub mail()
Application.ScreenUpdating = False
Sheets("Bon reprise").Select
Sheets("Bon reprise").Copy
Application.DisplayAlerts = False
With ActiveWorkbook
.SendMail Recipients:="maryline.vaills@saica.fr", Subject:="Salut"
End With
ActiveWorkbook.Close SaveChanges:=True
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub
c'est un truc que j'ai recuperé sur le net qui apparrement fonctionne a merveille..sauf pour moi lol
MERCI