Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-30-2012, 06:33 AM
SQLUSA SQLUSA is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2007
Competent Performer
Programming Book Page Format Sample
 
Join Date: Jun 2012
Location: NYC
Posts: 136
SQLUSA is on a distinguished road
Default Programming Book Page Format Sample

I am interested in your improvement suggestions.

Attached is a typical page.

Thanks.
Attached Files
File Type: docx OnePageSample.docx (12.1 KB, 15 views)
Reply With Quote
  #2  
Old 07-31-2012, 08:29 PM
macropod's Avatar
macropod macropod is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

I'd be inclined to have a table with feint/dashed cell borders and to have the $ values right-aligned.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 08-01-2012, 01:02 AM
SQLUSA SQLUSA is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2007
Competent Performer
Programming Book Page Format Sample
 
Join Date: Jun 2012
Location: NYC
Posts: 136
SQLUSA is on a distinguished road
Default

Thanks Paul.

The currency figures faithfully reflect how it comes out (left-justified as text) in the sql query tool.

I created a faint-line version of the table, attached.

Opinions please.
Attached Files
File Type: docx OnePageSampleA.docx (12.3 KB, 10 views)
Reply With Quote
  #4  
Old 08-01-2012, 06:35 AM
macropod's Avatar
macropod macropod is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

That looks more like HTML boxes. I think your publisher would recommend against it. Faint gridlines is all you need.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 08-01-2012, 07:48 AM
SQLUSA SQLUSA is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2007
Competent Performer
Programming Book Page Format Sample
 
Join Date: Jun 2012
Location: NYC
Posts: 136
SQLUSA is on a distinguished road
Default

Thanks Paul.

How do I do that?

My border selection is All, I changed the first line font in Style to 1/4 pt from 1/2 pt, can't detect if fainter.

I don't want broken line because not faithful.
Reply With Quote
  #6  
Old 08-01-2012, 02:54 PM
SQLUSA SQLUSA is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2007
Competent Performer
Programming Book Page Format Sample
 
Join Date: Jun 2012
Location: NYC
Posts: 136
SQLUSA is on a distinguished road
Default

Is there a way for mass changing table borders? I have about 500 tables.

Thanks.
Reply With Quote
  #7  
Old 08-01-2012, 03:52 PM
macropod's Avatar
macropod macropod is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Try running the following macro. It makes all table borders a 0.25pt 20% gray line.
Code:
Sub DoTableBorders()
Application.ScreenUpdating = False
Dim SBar As Boolean, i As Long, j As Long, k As Long
With ActiveDocument
  k = .Tables.Count
  If k = 0 Then Exit Sub
  For i = 1 To k
    Application.StatusBar = "Processing Table " & i & " of " & k
    For j = 1 To 6
      With .Tables(i).Borders(j)
        .LineStyle = wdLineStyleSingle
        .LineWidth = wdLineWidth025pt
        .Color = wdColorGray20
      End With
    Next
    DoEvents
  Next
End With
StatusBar = ""
Application.ScreenUpdating = True
End Sub
The macro reports its progress on the status bar.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #8  
Old 08-01-2012, 05:40 PM
SQLUSA SQLUSA is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2007
Competent Performer
Programming Book Page Format Sample
 
Join Date: Jun 2012
Location: NYC
Posts: 136
SQLUSA is on a distinguished road
Default

Just to be on the safe side, how do I run a macro? Thanks.
Reply With Quote
  #9  
Old 08-01-2012, 05:49 PM
macropod's Avatar
macropod macropod is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See: http://www.gmayor.com/installing_macro.htm
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #10  
Old 08-03-2012, 12:06 AM
SQLUSA SQLUSA is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2007
Competent Performer
Programming Book Page Format Sample
 
Join Date: Jun 2012
Location: NYC
Posts: 136
SQLUSA is on a distinguished road
Default

Hi Paul,

The macro worked on around 200 tables, then errored out:

Run-time error 5843
One of the values passed to this method or property is out of range.

Actually it failed between two one-cell tables.

It made the grids fainter. They look better.

However, I can't use it unless it works for all.
Reply With Quote
  #11  
Old 08-03-2012, 12:16 AM
macropod's Avatar
macropod macropod is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If you can post a portion of the document containing the offending table, plus the tables either side of it, I might be able to diagnose the problem.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #12  
Old 08-03-2012, 01:24 AM
SQLUSA SQLUSA is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2007
Competent Performer
Programming Book Page Format Sample
 
Join Date: Jun 2012
Location: NYC
Posts: 136
SQLUSA is on a distinguished road
Default

Attached is the failure area from the document.
Attached Files
File Type: docx MacroError.docx (11.5 KB, 9 views)
Reply With Quote
  #13  
Old 08-03-2012, 02:15 AM
macropod's Avatar
macropod macropod is offline Programming Book Page Format Sample Windows 7 64bit Programming Book Page Format Sample Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Insert:
On Error Resume Next
before:
With .Tables(i).Borders(j)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Header and Page Numbering for Technical Book SQLUSA Word 4 06-25-2012 09:53 AM
Indexing a book - page numbers? asells23@yahoo.com Word 1 03-17-2012 12:13 AM
Powerpoint Macro To Insert Objects Sample lahuva PowerPoint 0 07-06-2011 10:51 AM
sample xslt file anil3b2 Word 0 08-02-2010 03:20 AM
Sample file for chart help aligahk06 Excel 1 07-08-2010 02:45 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft