J'ai rajouté la fonction comme cidessous mais le message apparaît toujours en barre des tâches. pour info Internet est déjà ouvert sur mon poste de travil
Private Sub Workbook_Open()
Sheets("Fiche").Activate
Call msgbox_popup("La dernière version de la fiche AFR est disponible sur Intranet uniquement", 1)
End Sub
Private Sub msgbox_popup(txt, durée)
txt = WorksheetFunction.Substitute(txt, Chr(13), "<BR>")
txt = WorksheetFunction.Substitute(txt, Chr(10), "<BR>")
txt = "<FONT SIZE=3 style='font-family:Verdana' color='blue'><CENTER>" & txt & "</CENTER></FONT>"
Set ie = CreateObject("internetexplorer.application")
ie.Navigate ("about:blank")
ie.Width = 700
ie.Height = 100
ie.Top = 150
ie.Left = 150
ie.document.write txt
ie.document.Title = "Avertissement"
ie.addressbar = False
ie.MenuBar = False
ie.StatusBar = False
ie.Toolbar = False
ie.Visible = True
Application.Wait Now + 15 / 150000
ie.Quit
End Sub