+ Reply to Thread
Results 1 to 2 of 2

Auto Filling Information from Excel or Access database

  1. #1
    Registered User
    Join Date
    01-29-2010
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2007
    Posts
    47

    Auto Filling Information from Excel or Access database

    I am trying to create a report template for my work. I would like to enter the Job # and have Word auto-fill the Client Name, Address, Postal Code, Contact, etc. from an Excel file with the Job # in the left most column. I use the vlookup function for all my Excel templates to pull this information, but I would like to be able to do the same thing with Word. I eventually plan to move the data from Excel and into Access, but that will be at a later date.

    Thanks in advance!

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Auto Filling Information from Excel or Access database

    Hi ih8xc,

    you could do this via mailmerge, using a SKIPIF field in the Word mailmerge main document. The SKIPIF field would be coded along the lines of:
    {SKIPIF{MERGEFIELD Job_No}<>{FILLIN "Please input the Job No. to query" \o}}

    Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1