Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67527

Excel VBA, embedded a chart via HTML into an email but the conditional formatting has gone

$
0
0

Through excel VBA I have embedded a table of data via HTML into the body of an email. All works fine except the conditional formatting dissappears when it is in the email.

Any help would be appreciated, here is the relevant code.

Dim TableRangeB As Object Set TableRangeB = Sheet10.Range("P1:V"& RegionTableLen).SpecialCells(xlCellTypeVisible)

On Error Resume Next With OutlookMessage .To = EmailListNames .CC = EmailListNames2 .BCC = "" .Subject = DepotThatIsBeingChecked & " Route&Drop KPIs" .HTMLBody = StringText & "
"& RangeToHTML(TableRangeB) .Attachments.Add TempFilePath & TempFileName & FileExtStr .Display


Viewing all articles
Browse latest Browse all 67527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>