Consulting

Results 1 to 4 of 4

Thread: Word alignment

  1. #1
    VBAX Regular
    Joined
    Sep 2005
    Posts
    78
    Location

    Word alignment

    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?

  2. #2
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    Post your code.

  3. #3
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    No?

  4. #4
    Administrator
    VP-Knowledge Base
    VBAX Guru MOS MASTER's Avatar
    Joined
    Apr 2005
    Location
    Breda, The Netherlands
    Posts
    3,281
    Location
    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
    _________
    Groetjes,

    Joost Verdaasdonk
    M.O.S. Master

    Mark your thread solved, when it has been, by hitting the Thread Tools dropdown at the top of the thread.
    (I don't answer questions asked through E-mail or PM's)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •