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 / November 2005

Tip: Looking for answers? Try searching our database.

How to fix left alignment of one row

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vivian Carroll - 21 Nov 2005 02:09 GMT
In Word 2000 I have a table with 3 columns.  I wrote a macro that can be run
to reset the table alignment and column widths if the user messes them up.
(For example, Table indentation of -.05", Column 1 = .5", column 2 = 1" and
column 3 = 3".)  However, what I can't seem to do is write a macro that
fixes only one row. For example all rows are correct except the second one
where the user dragged the row's left margin to 0 instead of -.05.  I can
reset the cells to the correct widths but I can't make the row then move
back to align -.05.  Is there a way to do this?

TIA,

Vivian
Klaus Linke - 23 Nov 2005 01:45 GMT
Hi Vivian,

Doesn't
myRow.LeftIndent=InchesToPoints(-0.5)
work?

(BTW, I consider it a bug that the interface -- the Table properties
dialog -- suggests that the left indent is a table property, when it's
really a row property)

Regards,
Klaus

> In Word 2000 I have a table with 3 columns.  I wrote a macro that can be
> run
[quoted text clipped - 10 lines]
>
> Vivian
 
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.