Results 1 to 3 of 3

Thread: VBA - center text cmd???

  1. #1

    Thread Starter
    Hyperactive Member mikef's Avatar
    Join Date
    Jun 2000
    Location
    Beach bound...
    Posts
    510

    Question VBA - center text cmd???

    I am writing a small app using VB in MS Word. I want to be able to left justify my text, but it is all showing up centered. I also want to bold some parts and not others.

    I have a great search routine that is finding the items, but I just can't seem to figure out how to align it the way I want and add bolding.

    Any suggestions or comments appreciated.

    mikef
    "If I had known it was going to be that kinda party, I would have stuck my disk in the mash potatos!"

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    post your search routine....
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    Tip:
    In Word record a Macro to do the justification. Then you can edit that macro which will give you access to the VBA code (written by recording the Macro) to which you can cut n paste / modify to suit
    you VBA application. Good tip - record a Macro.




    Bruce.

Posting Permissions

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



Click Here to Expand Forum to Full Width