+ Reply to Thread
Results 1 to 5 of 5

efficient data entry

Hybrid View

  1. #1
    Registered User
    Join Date
    01-21-2010
    Location
    Akron Ohio
    MS-Off Ver
    Excel 2007
    Posts
    16

    efficient data entry

    We ( my small company and myself) are about to start a project that will involve adding a lot of data into excel sheets ... we are trying to figure out the most time efficient way to do this is there a way to make an excel sheet work something like this

    Have a few lines at the top of the spreadsheet, in which the user would enter the name lets say something like

    Name, Position, Pay, Hire Date

    Then they would press a button, or hit enter and the information put into the cells at the top would automatically be added to a list at the bottom.... Then be able to enter Another Set of data, and compile a large list this manner .... i am attaching pictures that may further clarify
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    re: efficient data entry

    Hi,

    Yes just name the cells A3:E3 say 'DataEntry' then in the Visual Basic Environment (Alt-F11) select your workbook in the top window on the left, from the menu choose Insert Module, and in the big code window on the right copy the macro below.
    
    Sub AddData()
         Range("DataEntry").Copy Destination:= Range("A" & Application.Rows.Count).End(xlUp).Offset(1,0)
    End Sub
    you might prefer to have the new data entered at the top. In which case use
    
    Sub AddData()
         Range("A5").EntireRow.Insert
         Range("DataEntry").Copy Destination:= Range("A5")
    End Sub
    Now on your worksheet add an icon, logo, picture, drawing object like say a rectangle etc, right click on the object, choose Assign Macro and select the 'AddData' macro.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    re: efficient data entry

    If you have data in a table try this

    1.Select a cell in the Table
    2.From the data menu, click Form
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    01-21-2010
    Location
    Akron Ohio
    MS-Off Ver
    Excel 2007
    Posts
    16

    re: efficient data entry

    Thank you, i really like Richard Buttrey's idea, is there just a simple line of code i can add to that to have the entries placed on their own sheet ?

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    re: efficient data entry

    Hi,

    Yes.

    Assuming the sheet which contains your staff data records is called say 'StaffData' then use the modified code below. I also missed the bit about clearing the data entry cells once the update has taken place so I've added that bit in too.

    Sub AddData()
         Range("DataEntry").Copy Destination:=Sheets("Staffdata").Range("A" & Application.Rows.Count).End(xlUp).Offset(1, 0)
         Range("DataEntry").ClearContents
    End Sub
    ..or at the top
    Sub AddData()
         Range("A5").EntireRow.Insert
         Range("DataEntry").Copy Destination:=Sheets("StaffData").Range("A5")
         Range("DataEntry").ClearContents
    End Sub
    Regards

+ 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