?
Solved

Alignment for columns in word table using VBA Code

Posted on 2004-08-12
3
Medium Priority
?
825 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Simple Linear Regression
Starting up a Project
Suggested Courses

777 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