Solved

Alignment for columns in word table using VBA Code

Posted on 2004-08-12
3
811 Views
Last Modified: 2010-08-05
Hi All,

I am using VBA code to build a word document from existing one. I have added few tables to it. This code works well, only the problem is with that i have written

oTable.Rows.Alignment = wdRowAlignRight

but it is not working. It is not giving any error message also but not working. The data it represent is still left aligned.
I got one example from MSDN there they have also using same. Is there anyting I have to do? Can anyone please help me out on the same.

Thanks in advance,

Regards,
Deepak Khopade
0
Comment
Question by:deepak_khopade
3 Comments
 
LVL 4

Accepted Solution

by:
kolpdc earned 500 total points
ID: 11792035
i think, i'm not able to help you directly, but perhaps this gives you a hint (complete word-api):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2003_ta/html/WordObject.asp
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A short article about problems I had with the new location API and permissions in Marshmallow
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now