+ Reply to Thread
Results 1 to 6 of 6

Excel UserForm entries into Word File/Form

  1. #1
    Registered User
    Join Date
    05-29-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    52

    Excel UserForm entries into Word File/Form

    Hello,

    I've built a UserForm in Excel 2010 and I would like to build a Word 2010 form which is automatically populated by the entries of the Excel UserForm when one of the UserForm's command buttons is clicked. I've looked up basic tutorials on how to make a form in Word, but, otherwise I'm lost.

    Please help,

    Thanks!
    Attached Files Attached Files
    Last edited by GalmOne; 06-27-2012 at 09:51 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Excel UserForm entries into Word File/Form

    Hello GalmOne,

    Apparently so is everyone else. You should post both the Excel workbook and the Word document. How else are we to know what you have done and want to do?

    To Attach a File:
    1. Scroll down to the window below your post Additional Options
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    05-29-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: Excel UserForm entries into Word File/Form

    Alright, thanks. I uploaded both files in my original post. The Word document is supposed to go in the "Instructions" sheet of the accompanying excel file.

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Excel UserForm entries into Word File/Form

    I doubt whether you need so many comboboxes.
    But if you do you can use easier methods to fill them; e.g.

    Please Login or Register  to view this content.
    To insert the Word document


    Menu/ Insert/Object/create from file/ link
    Attached Files Attached Files
    Last edited by snb; 06-27-2012 at 10:13 AM.



  5. #5
    Registered User
    Join Date
    05-29-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: Excel UserForm entries into Word File/Form

    Thanks for that, it does shorten the code a good deal, I appreciate it.

    I still need to figure out how to make the UserForm spit out a word document though.

  6. #6
    Registered User
    Join Date
    05-29-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    52

    Re: Excel UserForm entries into Word File/Form

    Hello again, so I used the following code to update my list from a column in a sheet:

    Please Login or Register  to view this content.
    The problem is, if values are repeated in the column, they will repeat identically in the ComboBox list. Is there a way to remove these duplicates and (if possible) alphabetize the entries?

+ 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