Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Have you tried ws.PageSetup.PrintGridlines = false; instead of ws.PageSetup.PrintGridlines = true;? Commented Apr 7, 2015 at 11:03
  • 1
    Omg ! Thank you it works. I forgot this line... Commented Apr 7, 2015 at 11:29
  • I'm going to turn this into an answer so you can accept. Commented Apr 7, 2015 at 11:30