Consulting

Results 1 to 2 of 2

Thread: MS Word macro user select datasource

  1. #1
    VBAX Newbie
    Joined
    Sep 2006
    Posts
    1
    Location

    MS Word macro user select datasource

    I have one main doc and one header that will be used by many users. Each user will have a different datasource generated from our studentdatabase as a .txt file. Are there command's that I can enter in VB that will allow the macro to pause while the user navigates to the .txt datasource file?

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Hi jec
    Welcome to VBAX,
    I made up some code to allow datasource selection here. You might be able to twist it to your own purpose. Let us know if this helps, or you need further assistance
    Regards
    MD
    http://vbaexpress.com/kb/getarticle.php?kb_id=256
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Posting Permissions

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