Results 1 to 5 of 5

Thread: VB to Word-Labels

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2003
    Posts
    509

    VB to Word-Labels

    Hi,

    I am attempting to take certain information from an access database to Microsoft Words labels.

    I know about creating word objects etc. I don't know how to create pages of labels via VB.

    I will extract the information from the database and manipulate it. I then want to put the names and addresses into word labels. Essentially a mail merge through VB.

    Can someone help me out please?

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2003
    Posts
    509

    Re: VB to Word-Labels

    Anyone?

  3. #3
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Re: VB to Word-Labels

    Why can't you just use the mailmerge option in Word? It will allow you to specify the data source. If you need to change the data based on some run time parameter, I would create the word document using dummy data, then create the proper data in VB, then use "shell" to execute the word doc.

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2003
    Posts
    509

    Re: VB to Word-Labels

    I thought someone would mention this. I am doing it for someone else. It would be easier for them to just click a button. Also before the mail merge occurs the database has to be manipulated. It is not my database and was not set up by me. I think it is poorly designed.

    That is why i would like to do it via vb. I am more confident with vb than access (vba)

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2003
    Posts
    509

    Re: VB to Word-Labels

    I found something on this forums. How can i adapt it to print labels that are 2 across and 8 down. At the momment it prints just 4 down.
    does anybody know?

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