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 36 weeks ago
6 years 22 weeks ago
6 years 34 weeks ago
6 years 37 weeks ago
6 years 38 weeks ago
6 years 43 weeks ago
6 years 52 weeks ago
7 years 2 days ago
7 years 3 days ago
7 years 3 days ago