Solved

Alignment for columns in word table using VBA Code

Posted on 2004-08-12
3
822 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about a problem I had getting the GPS LocationListener working.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Simple Linear Regression
Six Sigma Control Plans

690 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