+ Reply to Thread
Results 1 to 3 of 3

Userform data entry

  1. #1
    Registered User
    Join Date
    03-15-2010
    Location
    Grim up north
    MS-Off Ver
    Excel 2003
    Posts
    2

    Userform data entry

    Hi all, it's been a long time since I've used Excel (pre ribbon), but I've managed to dig a hole for myself and wondered if someone could throw me a rope.

    We have a spreadsheet at work that they duplicate each year for recording some 800+ batches of material. The first record on the spreadsheet begins at C3 and goes through to BJ3, to include the many components within each batch. Now, because we're a bit slack in the foundry this week I was asked to jump on board and try to improve the sheet. Like an idiot I suggested that a userform for data entry might be better than tabbing from left to right across the thing, and hence got lumbered with it despite my protests. I've researched here and other sources and I think I'm on the way but would appreciate any guidance anyone can give.

    I've created the userform and it opens on a double-click in any empty cell in column C. Basically I need the form to look for the first empty row in column C and then add all the user input from the form into that row. Also, can data transfer be achieved using code such as;

    Please Login or Register  to view this content.
    Sorry to be a pain,

    Steve.
    Last edited by stevipop; 11-27-2014 at 04:11 PM. Reason: Gaff on tags, oops!

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Userform data entry

    Steve

    Sounds pretty straightforward, and the code you've posted looks about right, all it's really missing is something to find the next empty row.

    For example.
    Please Login or Register  to view this content.
    PS Can you add code tags when posting code?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    03-15-2010
    Location
    Grim up north
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Userform data entry

    Thanks Norie, I'd seen code for A:A and finding the next empty row, but couldn't work out how to apply it to a specific column as a starting point. Is this known as an offset, or am I mixing that up with something else?

    Sorry about the gaff with the code tags. I've edited my first post to include them, is that OK?

    I'd just started to get into the coding side many moons ago but that aspect of the job changed and I went back on the tools and dropped Excel. I should've persevered really because I did enjoy it, but 5 years is a long time and they put a ribbon in there somewhere which hasn't helped, lol.

    Anyway, thanks again,

    Steve.

+ 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. userform and data entry help
    By andrewode in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2014, 11:30 AM
  2. Data Entry with UserForm
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2014, 11:55 AM
  3. Replies: 0
    Last Post: 02-04-2014, 12:36 AM
  4. Userform data entry
    By amekock in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-19-2011, 10:26 AM
  5. Data entry with userform
    By gr6au in forum Excel General
    Replies: 1
    Last Post: 10-16-2010, 10:08 AM

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