+ Reply to Thread
Results 1 to 6 of 6

VBA Data Entry Form to find first empty row in a specific range

  1. #1
    Registered User
    Join Date
    12-26-2019
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    69

    VBA Data Entry Form to find first empty row in a specific range

    Hello community,
    I need your help again
    I have a data entry form which finds the first empty row to enter any data.
    In my Excel file, if I enter a number in TextBox1 it goes to Cell A2, enter a number in TextBox2 it goes to Cell B2, enter a number in TextBox3 it goes to Cell C2
    Everything works so far, but I would like now to add a fomula in Cell D2, the problem is when I use the form, the number don't go to row 2 anymore, because Cell D2 has the formula. I would like to have the numbers in row 2 to be inserted with the form even if there is formula in D2.
    I have attached my file, maybe you can see what I mean.
    Thanks in advance for any help you can offer.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: VBA Data Entry Form to find first empty row in a specific range

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Forum Contributor pipoliveira's Avatar
    Join Date
    08-09-2012
    Location
    Ireland
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    368

    Re: VBA Data Entry Form to find first empty row in a specific range

    Hey Frank,

    Change the iRow line to this one:
    Please Login or Register  to view this content.
    It should work. Let us know.
    Best regards,
    Filipe


    * If a reply solved or answered your query/question, you can add reputation to the person by clicking on the * Add Reputation
    * When question is resolved, please mark your thread as SOLVED


    Thanks and regards,
    Filipe Oliveira

  4. #4
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: VBA Data Entry Form to find first empty row in a specific range

    Golden rule.
    Do not clutter your sheet with on-sheet formula when using VBA.
    Do the work within the code.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    12-26-2019
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    69

    Re: VBA Data Entry Form to find first empty row in a specific range

    Hi Filipe, thank you so much. This works for me. Amazing. Reps on the way.

  6. #6
    Registered User
    Join Date
    12-26-2019
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    69

    Re: VBA Data Entry Form to find first empty row in a specific range

    Thank you torachan, this also works. :-)

+ 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. Find empty Rows/Columns in a specific range
    By JasonTheSparky in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-25-2018, 01:11 PM
  2. User Form Data Entry Specific Range Start
    By simpdogg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-06-2016, 10:37 AM
  3. Allowing a text box in a data entry Form to remain empty
    By Drakanish in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2016, 12:17 PM
  4. [SOLVED] Find next empty cell (Row)within a specific range in column A
    By JRidge in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2014, 05:39 AM
  5. Find the first empty row for User Data Entry form
    By Goodstart14 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-01-2014, 06:59 PM
  6. Macro to find next empty cell in specific range
    By boatbabe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2013, 09:18 AM
  7. Find first empty row in a specific range
    By orlando_javier in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-23-2010, 03:09 PM

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