Non non, ça ne change rien
Dim OL As Object, M As Object
Set olApp = CreateObject("Outlook.application")
On Error Resume Next
Set oOutlook = GetObject(, "Outlook.Application")
If Err.Number <> 0 Then 'Si Outlook est fermé
MsgBox "Attention, Outlook n'est pas ouvert, le programme ne va pas fonctionner ... "
Else
Set M = olApp.CreateItem(olMailItem)
With M
.Subject = "Test création mail"
.Body = "Blablabla"
.To = Sheets("Param").Cells(2, 1)
.CC = Sheets("Param").Cells(2, 2)
.Display
End With
Set M = Nothing
End If
Par contre en écrivant en dur, ça fonctionne. C'est ce que je ne comprend pas ...
(...)
.To = "etla@gmail.com"
.CC = "etlabis@gmail.com"
(...)