Ceci est une page optimisée pour les mobiles. Cliquez sur ce texte pour afficher la vraie page.

XL 2016 VBA - Range to HTML incluant les objets de la feuille (boutons, images, ...)

Dudu2

XLDnaute Barbatruc
Bonjour,

Je n'ai rien trouvé qui fonctionne pour convertir un Range en HTML qui inclurait tout ce qu'il y a dans le Range en question.

J'ai bien récupéré la fonction de Ron de Bruin omni-présente sur le Web qui fonctionne uniquement pour les valeurs de cellules et leurs formats, sauf pour les tableaux structurés qui ne sont pas en exclusivité dans le Range qui perdent alors leurs formats (qui n'en sont pas vraiment !).
 

Pièces jointes

  • Classeur1.xlsm
    261.1 KB · Affichages: 11

patricktoulon

XLDnaute Barbatruc
re
non je n'ai pas placé les images inline
c'est le code CSS qui est inline
ceci (ci dessous)et tout les autre entêtes de compatibilité d'ailleurs
<Style>
/blablabla

/...
'/etc...
</Style>

outlook ne les prendra pas en compte
il reprends que le body innerhtml il met ses entêtes à lui
résultat tu n'aura plus les styles de ta table
la méthode publier (all include)est bonne si tu veux ton document en html c'est tout
crois moi j'en ai fait le tour
c'est pas le bon chemin si tu veux travailler outlook en HTML
si tu veux ta plage dans le corps du mail travaille en code inline
 

Dudu2

XLDnaute Barbatruc
Je ne me vois pas générer le HTML du Range et ses Objects à la mano pour avoir ces images "inline" ou "instream". C'est bien trop complexe. Pour moi en tous cas.
Soit je trouve un moyen d'inclure le binaire des images dans le HTML à la place de la référence fichier, soit j'essaie de les placer en Attachements et en faire des Embbeded Images.
 

patricktoulon

XLDnaute Barbatruc
re
je ne parle pas des images pour inline
je parle des properties des balises TD/TR

pour les images c'est assez simple en fait

for each shap in activesheet.shapes
if not intersect(rng,shap.topleftcells) is nothing then
'sauve avec un shart(methode hyper connu avec un chemin + le nom de la shap+".jpg" )
'dans le document html
set img=.document.createelement("img")
with img
.src="le chemin+le nom de la shape"'chemin préalablement etabli plus haut
with .style
.position="absolute"
.left=shap.left &"pt"
.top=shap.top & "pt
.width=shap.width & "pt"
.height=shap.height &"pt"

end with
end with
end if
next
parti de là tu a tes balises img en bas du code html mais il sont en position absolute donc à leur place

tout ca tu le fait dans document html soit dans IE(un peu lourd ) soit dans un htmlfile
mais avec un export par publier le code est invalidé dans outlook

juste pour le fun si tu peux utiliser un webbrowser dans ta version d'excel
prend un exemple de ton fichier ferme tout les autres

met lui un userform( ne met pas de controls)

dans son module colle lui ca
VB:
Public Function GetHtmlCodeOfRange(rng As Range)
 Dim Web As Object, Div As Object, a&
 Application.CopyObjectsWithCells = False
 [c4:i13].Copy
Set Web = Me.Controls.Add("Shell.Explorer.2", "wb1")
    With Web
        .Navigate "about:blank"
        Do While .readystate < 4: DoEvents: Loop
        Set Div = .Document.body.appendchild(.Document.createelement("div"))
        With Div
            .contenteditable = True
            .Style.Width = "200px"
            .Style.Height = "200px"
            .Style.backgroundcolor = "rgb(100,200,255)"
        End With
        ' MsgBox .Document.body.innerhtml
        Div.Focus
        .ExecWB OLECMDID_PASTE, OLECMDEXECOPT_DONTPROMPTUSER
DoEvents
  End With
'converter.Show 0
GetHtmlCodeOfRange = Div.innerhtml
End Function
dans un moule normal met ceci
VB:
Sub test()
    Dim I&, code$, chemin$
    I = FreeFile
    chemin = Environ("userprofile") & "\DeskTop\test.html"
    code = converter.GetHtmlCodeOfRange([c4:i13])
    Open chemin For Output As #I: Print #I, code: Close #I
End Sub
lance la sub test et ouvre le fichier avec ton explorer et regarde la source
c'est ça du code inline
 

Dudu2

XLDnaute Barbatruc
OK, je regarderai ça demain. Mais à la 1ère lecture je ne comprends rien de rien à ton code.
Ce que je ne comprends pas c'est que mes extensions Firefox pour copier la page Web en 1 seul fichier (Save Page WE ou Single File) n'arrivent pas à capturer les images. J'ai tout essayé dans le code source et le FileList.xml, rien à faire. J'aurais pu m'inspirer du HTML résultat mais bon ça veut pas !
 

patricktoulon

XLDnaute Barbatruc
re
voilà ce que j'obtiens pour le moment avec ma methode range to html par code
il me reste a trouver comment recupérer le style du Tableau Structuré


et si tu regarde le code html il est basique et surtout INLINE
et là il sera exploitable dans toute les apps mail
HTML:
<body style=" margin:0;"><TABLE style="MARGIN: 0px; WIDTH: 426pt; BORDER-COLLAPSE: collapse; FONT-FAMILY: Calibri; HEIGHT: 150pt; FONT-SIZE: 11pt">
<TR>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=C4><FONT face=Calibri>T1</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=D4><FONT face=Calibri>T2</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=E4><FONT face=Calibri>T3</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F4><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G4><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H4><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I4><FONT face=Calibri></FONT></TD></TR>
<TR>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=C5><FONT face=Calibri>A1</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=D5><FONT face=Calibri>B1</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=E5><FONT face=Calibri>C1</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F5><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G5><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H5><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I5><FONT face=Calibri></FONT></TD></TR>
<TR>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=C6><FONT face=Calibri>A2</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=D6><FONT face=Calibri>B2</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=E6><FONT face=Calibri>C2</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F6><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G6><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H6><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I6><FONT face=Calibri></FONT></TD></TR>
<TR>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=C7><FONT face=Calibri>A3</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=D7><FONT face=Calibri>B3</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=E7><FONT face=Calibri>C3</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F7><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G7><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H7><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I7><FONT face=Calibri></FONT></TD></TR>
<TR>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=C8><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=D8><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=E8><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F8><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G8><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H8><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I8><FONT face=Calibri></FONT></TD></TR>
<TR>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #ffff00; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid" id=C9><FONT face=Calibri>X1</FONT></TD>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #ffff00; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid" id=D9><FONT face=Calibri>X2</FONT></TD>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #ffff00; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid" id=E9><FONT face=Calibri>X3</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F9><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G9><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H9><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I9><FONT face=Calibri></FONT></TD></TR>
<TR>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #ffd966; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid" id=C10><FONT face=Calibri>Y1</FONT></TD>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: center; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #ffd966; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid" id=D10><FONT face=Calibri>Y2</FONT></TD>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #ffd966; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid" id=E10><FONT face=Calibri>Y3</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F10><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G10><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H10><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I10><FONT face=Calibri></FONT></TD></TR>
<TR>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #f4b084; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid" id=C11><FONT face=Calibri>Z1</FONT></TD>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #f4b084; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid" id=D11><FONT face=Calibri>Z2</FONT></TD>
<TD style="BORDER-BOTTOM: #000000 1px solid; TEXT-ALIGN: left; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #f4b084; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid" id=E11><FONT face=Calibri>Z3</FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #000000 1px solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F11><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G11><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H11><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I11><FONT face=Calibri></FONT></TD></TR>
<TR>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=C12><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=D12><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=E12><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F12><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G12><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H12><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I12><FONT face=Calibri></FONT></TD></TR>
<TR>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=C13><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=D13><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=E13><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=F13><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=G13><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=H13><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #e6fafa 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: #e6fafa 0.5pt solid; BACKGROUND-COLOR: #ffffff; WIDTH: 60pt; HEIGHT: 14pt; VERTICAL-ALIGN: bottom; BORDER-TOP: #e6fafa 0.5pt solid; BORDER-RIGHT: #e6fafa 0.5pt solid" id=I13><FONT face=Calibri></FONT></TD></TR></TABLE><IMG style="POSITION: absolute; WIDTH: 221pt; HEIGHT: 147pt; TOP: 3pt; LEFT: 194pt" src="mesfichiers/Picture 2.jpg"><IMG style="POSITION: absolute; WIDTH: 135pt; HEIGHT: 56pt; TOP: 32pt; LEFT: 148pt" src="mesfichiers/Button 17.jpg"></body>
 

patricktoulon

XLDnaute Barbatruc
re
oui je sais il ne fait pas les alignement les wordwrap et 2 trois petite choses
dans mon message precedent je te montre le resultat de ma fonction que je t'ai donné en premier et que j'ai modifié pour les drawingobjects
 

Dudu2

XLDnaute Barbatruc
Je vais essayer de convertir les URLs de" Image src=<url>" en inline sur la base de cette syntaxe:
De mon point de vue, c'est pas le plus simple mais le plus sûr car le Publier conserve bien tous les formats.
Mais bon, me faudra du temps vu que je ne suis pas à l'aise avec la récupération du binaire d'un fichier.
Edit: en plus c'est super compliqué car s'il n'y avait que des tags <img src=> ça irait mais ya aussi des tags <imagedata src=> dont je ne sais que faire.
 
Dernière édition:

patricktoulon

XLDnaute Barbatruc
re
ce n'est pas en binaire mais en base 64
c'est un code imbuvable et qui n'est plus accepter non plus par toute les app mail
d'ailleurs outlook a son propre mime du base 64

les seules solution sont
soit passer par le range des paragraphe de l'item mail du document inspector dans outlook(j'ai déjà montré un exemple ya pas si longtemps )

soit en html avec dossier d'images
et crer les lien CID en creant les relativepartavec les lien des images et remplacer dans le code html les liens des images par les CID

petite demonstration avec mon astuce userform modifié et amélioré

pour le codage du src en base 64
tiens va voir ici

et le code du fichier html obtenu
les images sont tout en bas du code
HTML:
<BODY style="MARGIN: 0px"><DIV style="WIDTH: 420pt; HEIGHT: 150pt" contentEditable=true>
<TABLE style="WIDTH: 420pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=560>
<COLGROUP>
<COL style="WIDTH: 60pt" span=7 width=80>
<TBODY>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #8ea9db 0.5pt solid; WIDTH: 60pt; FONT-FAMILY: Calibri; BACKGROUND: #4472c4; HEIGHT: 15pt; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 700; BORDER-RIGHT: #f0f0f0; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none; mso-pattern: #4472C4 none" height=20 width=80>T1</TD>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; WIDTH: 60pt; FONT-FAMILY: Calibri; BACKGROUND: #4472c4; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 700; BORDER-RIGHT: #f0f0f0; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none; mso-pattern: #4472C4 none" width=80>T2</TD>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; WIDTH: 60pt; FONT-FAMILY: Calibri; BACKGROUND: #4472c4; COLOR: white; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 700; BORDER-RIGHT: #8ea9db 0.5pt solid; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none; mso-pattern: #4472C4 none" width=80>T3</TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 60pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" width=80></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 60pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" width=80></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 60pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" width=80></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 60pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" width=80></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #8ea9db 0.5pt solid; FONT-FAMILY: Calibri; BACKGROUND: #d9e1f2; HEIGHT: 15pt; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: #f0f0f0; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none; mso-pattern: #D9E1F2 none" height=20>A1</TD>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; FONT-FAMILY: Calibri; BACKGROUND: #d9e1f2; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: #f0f0f0; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none; mso-pattern: #D9E1F2 none">B<FONT class=font5 color=#ff00ff><STRONG>1</STRONG></FONT></TD>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; FONT-FAMILY: Calibri; BACKGROUND: #d9e1f2; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: #8ea9db 0.5pt solid; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none; mso-pattern: #D9E1F2 none">C1</TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #8ea9db 0.5pt solid; BACKGROUND-COLOR: transparent; FONT-FAMILY: Calibri; HEIGHT: 15pt; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: #f0f0f0; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none" height=20>A2</TD>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; FONT-FAMILY: Calibri; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: #f0f0f0; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none">B2</TD>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; FONT-FAMILY: Calibri; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: #8ea9db 0.5pt solid; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none">C2</TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #8ea9db 0.5pt solid; FONT-FAMILY: Calibri; BACKGROUND: #d9e1f2; HEIGHT: 15pt; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: #f0f0f0; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none; mso-pattern: #D9E1F2 none" height=20>A3</TD>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; FONT-FAMILY: Calibri; BACKGROUND: #d9e1f2; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: #f0f0f0; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none; mso-pattern: #D9E1F2 none">B3</TD>
<TD style="BORDER-BOTTOM: #8ea9db 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; FONT-FAMILY: Calibri; BACKGROUND: #d9e1f2; COLOR: black; FONT-SIZE: 11pt; BORDER-TOP: #8ea9db 0.5pt solid; FONT-WEIGHT: 400; BORDER-RIGHT: #8ea9db 0.5pt solid; TEXT-DECORATION: none; text-underline-style: none; text-line-through: none; mso-pattern: #D9E1F2 none">C3</TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" height=20></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: windowtext 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: yellow; HEIGHT: 15pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=20><FONT face=Calibri>X1</FONT></TD>
<TD style="BORDER-BOTTOM: windowtext 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: windowtext; BACKGROUND-COLOR: yellow; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl69><FONT color=#ff0000 face=Calibri>X2</FONT></TD>
<TD style="BORDER-BOTTOM: windowtext 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: windowtext; BACKGROUND-COLOR: yellow; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65><FONT face=Calibri>X3</FONT></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"><FONT face=Calibri></FONT></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: windowtext 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: #ffd966; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl66 height=20><FONT face=Calibri>Y1</FONT></TD>
<TD style="BORDER-BOTTOM: windowtext 0.5pt solid; TEXT-ALIGN: center; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #ffd966; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl67><FONT face=Calibri>Y2</FONT></TD>
<TD style="BORDER-BOTTOM: windowtext 0.5pt solid; TEXT-ALIGN: left; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #ffd966; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl66><FONT face=Calibri>Y3</FONT></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"><FONT face=Calibri></FONT></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"><FONT face=Calibri></FONT></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: windowtext 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: #f4b084; HEIGHT: 15pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl68 height=20><FONT face=Calibri>Z1</FONT></TD>
<TD style="BORDER-BOTTOM: windowtext 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #f4b084; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl68><FONT face=Calibri>Z2</FONT></TD>
<TD style="BORDER-BOTTOM: windowtext 0.5pt solid; TEXT-ALIGN: right; BORDER-LEFT: windowtext; BACKGROUND-COLOR: #f4b084; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl68><FONT face=Calibri>Z3</FONT></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" height=20></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD></TR>
<TR style="HEIGHT: 15pt" height=20>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; HEIGHT: 15pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" height=20></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD>
<TD style="BORDER-BOTTOM: #f0f0f0; TEXT-ALIGN: left; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0"></TD></TR></TBODY></TABLE>
    <IMG style="POSITION: absolute; WIDTH: 219pt; HEIGHT: 145pt; TOP: 2pt; LEFT: 193pt" src="C:\Users\patrick\DeskTop\fich_2022-08-16-12-49-41/Picture 2.jpg"><IMG style="POSITION: absolute; WIDTH: 133pt; HEIGHT: 54pt; TOP: 31pt; LEFT: 147pt" src="C:\Users\patrick\DeskTop\fich_2022-08-16-12-49-41/Button 17.jpg"></DIV></BODY>



voila voila
 

Dudu2

XLDnaute Barbatruc
Ok oui je sais que c'est en Base64.
Je suis en train de placer les images converties en Base64 en inline dans le HTML en remplacement des URLs.
J'ai des difficultés annexes liées au répertoire des images associé au fichier HTML que je n'arrive pas à supprimer car RmDir ne reconnait pas son nom.
Je finirai par y arriver ... ou pas
 

Dudu2

XLDnaute Barbatruc
Le mieux serait d'attacher les fichiers images et d'y faire référence par les CID dans Outlook, comme les Embbeded Images que je traite déjà dans mon interface.
Mais je ne sais pas comment remplacer les src="fichier image" en CIDs.
Il faudrait connaître la syntaxe exacte ou l'étudier. Je verrai ça dans un 2ème temps.
 

Discussions similaires

Les cookies sont requis pour utiliser ce site. Vous devez les accepter pour continuer à utiliser le site. En savoir plus…