+ Reply to Thread
Results 1 to 6 of 6

Word userform

  1. #1
    Forum Contributor
    Join Date
    05-06-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    361

    Word userform

    Hi, I have this document that helps user populate information. Users will key in the same information on, for example, Row 1 columns 1 to 4. When they execute the command, the information will be populated into 2 rows in the document with additional trailing information. It is a must to have the same information in multiples of 4. Meaning columns 1 to 4 is one set of information, 5 to 8 can be another set of information. I'm trying to reduce the effort needed to repeat the information 3 more times for each set of information. Is there a way to key the information into 1 textbox and the same results can be achieved?
    Attached Files Attached Files

  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: Word userform

    Why do you have the users re-keying the same info in columns 1-4? Surely you could design the userform so that each item need only be keyed once, then use the appropriate code behind the userform to replicate the data as & where needed.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Forum Contributor
    Join Date
    05-06-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    361

    Re: Word userform

    That's what I'm lacking, a code that can replicate the info without the user having to enter the same info 4 times

  4. #4
    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: Word userform

    For that you could use code like:
    Please Login or Register  to view this content.
    Last edited by macropod; 07-20-2016 at 04:36 PM.

  5. #5
    Forum Contributor
    Join Date
    05-06-2009
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    361

    Re: Word userform

    Thank you macropod. Now the information in 1 textbox can be replicated across 3 other textboxes. But I need it to replicate on the second row as well. Also, there are trailing information that needs to be added into each textbox. For example, user key in AB in textbox 1 and execute. the result on the word document should be AB-20ul RSID, AB-5ul RSID, AB-5ul PSA, AB-1ul PSA, and replicated in the second row. The trailing information is fixed
    Last edited by bqheng; 07-20-2016 at 08:07 PM.

  6. #6
    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: Word userform

    Try:
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Choose multiple Word-Documents via UserForm TextBox and combine them to Master Word-Doc
    By ODeveloper in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-15-2015, 09:25 AM
  2. Linking userform with MS word
    By yuva24 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2015, 11:30 PM
  3. CALENDAR USERFORM w/o addins in MS Word
    By puuts in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2015, 11:57 PM
  4. [SOLVED] Can not open word, pdf file from userform
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-02-2014, 01:44 AM
  5. Userform details to Word/PDF
    By Kiran2012 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-14-2012, 04:54 AM
  6. UserForm VBA Help for MS Word 2010
    By krjoshi in forum Word Programming / VBA / Macros
    Replies: 0
    Last Post: 12-01-2011, 01:06 PM
  7. Userform into formfields on Word Doc
    By cruiser102 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-28-2009, 08:10 PM

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