Grid in Excel 2013 doesn't work...
I wrote a quite simple macro to use a png picture as a grid for Excel. It worked fine with Excel 2007, but now I switched to Excel 2013 and a small problem emerged:
Despite the fact, that the macro works, the png picture is displayed in another size on my second PC. The zoom is 100%, the setup of both PCs is identical. However, if the picture is displayed in different sizes it makes the grid worthless.
Has anyone any ideas? I want the grid picture always with the same size if the zoom equals 100%...
This is my code and it worked perfect with Excel 2007:
Sub MyGrid()
ActiveSheet.SetBackgroundPicture Filename:=""
ActiveSheet.SetBackgroundPicture Filename:= _
"C:\mygrid\MyGrid.PNG"
End Sub
Thanks!
Recent comments
5 years 41 weeks ago
6 years 27 weeks ago
6 years 39 weeks ago
6 years 42 weeks ago
6 years 43 weeks ago
6 years 48 weeks ago
7 years 4 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago