PC Review


Reply
Thread Tools Rate Thread

How do I avoid printing cell borders?

 
 
Michael Lanier
Guest
Posts: n/a
 
      19th Aug 2009
I have several sheets that have cells (sometimes in a range) with
borders. I do not want the borders to print. I presume I would use
something similar to the following:

Private Sub Workbook_BeforePrint(Cancel As Boolean)
With Worksheets("Sheet1") . . . .

Any suggestions would be appreciated.

Michael
 
Reply With Quote
 
 
 
 
Rick Rothstein
Guest
Posts: n/a
 
      19th Aug 2009
I think this will do what you want (assuming you are using the With
statement you showed in your example)...

..PageSetup.PrintGridlines = False

--
Rick (MVP - Excel)


"Michael Lanier" <(E-Mail Removed)> wrote in message
news:3d29d1d8-eb7d-47f6-ae16-(E-Mail Removed)...
>I have several sheets that have cells (sometimes in a range) with
> borders. I do not want the borders to print. I presume I would use
> something similar to the following:
>
> Private Sub Workbook_BeforePrint(Cancel As Boolean)
> With Worksheets("Sheet1") . . . .
>
> Any suggestions would be appreciated.
>
> Michael


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing with cell borders AnnZ Microsoft Excel Misc 1 14th Mar 2008 07:07 AM
Non Printing of Cell borders paul007 Microsoft Excel Misc 7 4th Nov 2005 05:35 PM
printing vertical cell borders Ken Stone Microsoft Excel New Users 1 27th Feb 2004 07:28 PM
text printing on top of cell borders Fran Microsoft Excel Setup 1 24th Feb 2004 09:45 PM
Cell borders not printing rDeVost Microsoft Excel Misc 4 4th Feb 2004 02:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:52 AM.