+ Reply to Thread
Results 1 to 5 of 5

Word 2010 Data Entry Form help

  1. #1
    Registered User
    Join Date
    02-24-2013
    Location
    Atlanta, Georgia
    MS-Off Ver
    Word 2010
    Posts
    3

    Word 2010 Data Entry Form help

    Word 2010 want to automate a task at work. need a data entry form to
    pop up when a certain section of a word doc is accessed.

    Once a data field is entered, the tab key should navigate to the next field

    Once the form is completed, should be able to tab to a button that closes the form and populates
    each data entry to a bookmark location in the Word doc

    Any suggestions, ideas or help would be appreciated. Starting a new job
    and trying to be productive on this task which will run about 30 times a day.

  2. #2
    Registered User
    Join Date
    02-24-2013
    Location
    Atlanta, Georgia
    MS-Off Ver
    Word 2010
    Posts
    3

    Re: Word 2010 Data Entry Form help

    Looks like I can use DIM statement to create a pop up data form:

    Dim strName As String

    strName = InputBox(Prompt:="Name", _
    title:="ENTER NAME", Default:="")

    If strName = "Name" Or _
    strName = vbNullString Then
    End If
    Exit Sub

    Now how do I get that data in paste into a specific part of a word document & close the form?

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

    Re: Word 2010 Data Entry Form help

    Is there a reason for not inputting the data into the document directly (eg via formfields or content controls)?
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  4. #4
    Registered User
    Join Date
    02-24-2013
    Location
    Atlanta, Georgia
    MS-Off Ver
    Word 2010
    Posts
    3

    Re: Word 2010 Data Entry Form help

    Yes. I know nothing about either of them.
    All I know is what I've learned after recording Macros in Word and editing the results. Sorry.

    I'll look in the direction you mentioned, thanks for the reply.

    Sub test2()
    ' pop up Input box and return result to 'Name' bookmark in Word
    Dim strName As String


    strName = InputBox(Prompt:="Name", _
    title:="ENTER NAME", Default:="")



    If strName = "Name" Or _
    strName = vbNullString Then
    End If

    strName = ActiveDocument.Bookmarks("Name").Value

    End Sub
    Last edited by reno4nook; 02-25-2013 at 08:42 PM.

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

    Re: Word 2010 Data Entry Form help

    Quote Originally Posted by reno4nook View Post
    Yes. I know nothing about either of them.
    Time to start learning. See:
    http://office.microsoft.com/en-us/wo...005230270.aspx
    http://office.microsoft.com/en-us/wo...010030746.aspx

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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