PDA

View Full Version : Word alignment



v_gyku
12-27-2005, 12:27 AM
I am writing a vba code to get the following result.

Name of the shop(This has to be in the center)
Address of the shop(This has to be in the center)
Date(this has to be on the right side of thedocument.

On click of a button i am creting a word doc with above reults.

I have written code for this.
But when i give alignment for date as right then all the above lines also comes to right side.


And one more thing..
How can i give border to the document?

fumei
12-27-2005, 06:45 PM
Post your code.

fumei
12-29-2005, 06:22 PM
No?

MOS MASTER
12-31-2005, 10:44 AM
Hi,

Make your live easy and insert your content in a three column table.

For the border try recording a macro with the recorder to get the right coding objects.

HTH :whistle: