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 / Word / Programming / October 2006

Tip: Looking for answers? Try searching our database.

Problem in linespacing  for paragraphs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LineSpace in paragraph - 19 Oct 2006 10:32 GMT
Hi,
In vba I have created a table with 2 rows and 3 cells. In each cell I set
Paragraph linespace to 1 cm, I set Toppadding for cell = 0 and Spacebefore
for paragraph to 0 too. but as I set Linespace there is an extra space above
my text  in paragraph
and edge of the cell. I think It problam comes from baselinealignment
setting in table. I set BaseLineAlignment to every below this constants.
"wdbaselinealigntop", "wdbaselineAligncenter", "wdbaselineAlignbaseline",
"wdbaselineAlignFarEast50"

just In FarEAst Option my text come upper than the others but no compeletly.
I just need to set line spaces in between my rows in paragraphs not for
first line of paragraph to previous paragraphs or anything.
what should I do please help
Stefan Blom - 23 Oct 2006 08:25 GMT
As far as I know, the baseline options you are referring to is only
available (via the user interface, that is) for Asian language
versions of Word. Have you tried checking the compatibility option
"Don't center 'exact line height' lines"? In VBA, you would do the
following:

  ActiveDocument.Compatibility(wdExactOnTop) = True

Signature

Stefan Blom
Microsoft Word MVP

> Hi,
> In vba I have created a table with 2 rows and 3 cells. In each cell I set
[quoted text clipped - 10 lines]
> first line of paragraph to previous paragraphs or anything.
> what should I do please help
 
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.