For a while now, my colleagues and me have been using all kinds of methods to create a template to easily make volunteer vacancy forms.
Ideally, the person in charge of
I have been using this a few months, but after upgrading to windows 10 / excel 2016, the export is a blank image. And found that Excel 2016 is a bit slowminded and need everything bit by bit... the with... section should not contain the delete method and the chart need to be activated before paste...
like this:
mychart.Activate
With mychart
.Height = rng.Height
.Width = rng.Width
.Chart.Paste
.Chart.Export Filename:=strTempfile, Filtername:="PNG"
End With
mychart.Delete