+ Reply to Thread
Results 1 to 3 of 3

Fix for Data Entry Form

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    9

    Fix for Data Entry Form

    Hey!

    I was wondering if anyone could help... I've found sample code I'm playing around with on Excel but I'm a bit confused how to fix something relating to the data entry form. Basically it works ok... but whenever the first field of the data entry form is not completed, the row I enter replaces the previous one. I hope that makes sense. Basically, you HAVE to enter something in the first field of the form otherwise it won't add to the spreadsheet a row below the last. It's a bit confusing to explain but I've attached the file to this post.

    Oh and also, the exit button from the form isn't working. I can't understand why not. If anyone can shed any light on this, I'd be very grateful!

    I hope someone could tell me where I'm going wrong?

    Thanks

    I've also asked this here: http://www.mrexcel.com/forum/showthr...65#post3232765
    Attached Files Attached Files

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,334

    Re: Fix for Data Entry Form

    Is there a field that always has to be completed?
    Everyone who confuses correlation and causation ends up dead.

  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: Fix for Data Entry Form

    It's not very good code to be copying. It selects unnecessarily & has a variable lRowNum which it doesn't use.Try this

    Please Login or Register  to view this content.
    Hope that helps.

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

    Free DataBaseForm example

+ 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