Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2007

Tip: Looking for answers? Try searching our database.

Border lines too thick !

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Blue Max - 11 Jul 2007 02:09 GMT
Excel 2007 only appears to have a limited number of border lines.  The
problem is that we are choosing the thinest line in the dialog and it prints
horendously thick for what we need.  The printer is capable of printing very
thin 600 DPI hairlines, but Excel prints the lines much thicker with no
apparent option for editing the line widths.  We are also finding this to be
the case with text - our text prints very bold when the printer is capable
of much finer text.  Does anyone know if we can edit the default line widths
or font boldness and address these problems?
Brian Withun - 11 Jul 2007 19:38 GMT
It doesn't appear that you are granted very granular control over the
line thickness...

>From the Help:

/*
WEIGHT PROPERTY
Returns or sets the weight of the border. Can be one of the following
XlBorderWeight constants: xlHairline, xlThin, xlMedium, or xlThick.
Read/write Long.
*/

You can only use xlHairline, xlThin, xlMedium, or xlThick for the
thickness.  You may try some VB code to assure yourself that you're
using the thinnest possible border; xlHairline

I haven't found out what xlHairline is supposed to result in, but
"hairline" typically refers to a line that is minimally thick,
dependent upon the display.  Your screen will display a "hairline" as
one pixel thick.  Your 600dpi printer ought to draw a "hairline" as
1/600th of an inch thick.  I can't promise that Excel will do that,
though.  I haven't found a definition of xlHairline for Excel, except
that is has a value of 1, whatever that means.

Sub justdoit()

   With ActiveCell.Borders
       .LineStyle = xlContinuous
       .Color = RGB(255, 0, 0)
       .Weight = xlHairline
   End With

End Sub

Brian Herbert Withun
Bob I - 11 Jul 2007 20:26 GMT
FWIW the display is typically 96 DPI, so that may be why it is about
1/100th of an inch on the paper?

> It doesn't appear that you are granted very granular control over the
> line thickness...
[quoted text clipped - 31 lines]
>
> Brian Herbert Withun
Blue Max - 12 Jul 2007 21:49 GMT
Thank you, Brian, your reply was very helpful.  Please see our inline
comments below:

> It doesn't appear that you are granted very granular control over the
> line thickness...

***********************************
Amen!  The control is extremely limited.  Other competing programs offer
much greater control over thickness.  Most of them allow the user to set the
thickness in every possible fractional variation of points, inches,
centimeters, dots, etc.  This is a disappointment since the default
worksheets print out like coarse, bold tables and lack the fine point sizes
and thin lines of finer professional documents printed on the same printer.
***********************************

>From the Help:
>
[quoted text clipped - 8 lines]
> thickness.  You may try some VB code to assure yourself that you're
> using the thinnest possible border; xlHairline

***********************************
Pretty limited selection, we're not too impressed.
***********************************

> I haven't found out what xlHairline is supposed to result in, but
> "hairline" typically refers to a line that is minimally thick,
[quoted text clipped - 3 lines]
> though.  I haven't found a definition of xlHairline for Excel, except
> that is has a value of 1, whatever that means.

***********************************
One (1) may represent one single unit of whatever unit of measure the
printer is defaulting to for the print job?  Thus resulting in the finest
line the printer can print, as you mentioned above.
***********************************

> Sub justdoit()
>
[quoted text clipped - 5 lines]
>
> End Sub

***********************************
Thank you for the macro, it enlightened us substantially.  So let us share
our observations:  FIRST, the border created by this macro displays on the
screen as a red dotted line.  However, it prints as a solid black hairline.
SECOND, no matter what color is selected for the resulting border, it prints
in black.  Thus, if the user selects the first line style following the
'None' option in the border dialog, it will always result in a black
hairline regardless of the color selected.  We are wondering if the first
line style was intended to be a solid hairline, but could only be
represented as a dotted line on the display.  However, the inablility to
print in color is a mystery.

Unfortunately, this is a poor design.  FIRST, hairlines are not properly
displayed.  SECOND, hairlines won't print in color.  THIRD, the user cannot
define the line thickness of the style chosen.  In most other programs there
is a separate option for the style and then a separate option for the
thickness of the line, but Excel combines the two and the user is forced
accept whatever default combinations of style and thickness shown on the
menu.  Very poor.
***********************************

> Brian Herbert Withun

Thanks Brian!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.