+ Reply to Thread
Results 1 to 6 of 6

I need my userform to input data in the first empty cell of a row

  1. #1
    Registered User
    Join Date
    02-14-2014
    Location
    waycross, Ga
    MS-Off Ver
    Excel 2010
    Posts
    3

    I need my userform to input data in the first empty cell of a row

    Good afternoon,

    I have created a userform to input data into a tracker i have created. Currently, it enters the data into the activecell and the two cells to the immediate right. I would like to modify my userform and code to input data into the first three empty cells of a row, with the row being dependent upon a dropdown box of names. The names are all in Column A. Below is my current code. Please help.



    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    Last edited by alansidman; 02-14-2014 at 04:22 PM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: I need my userform to input data in the first empty cell of a row

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be in the forum rules



    (Because you are new to the forum, I have added them for you today. Please read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-14-2014
    Location
    waycross, Ga
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: I need my userform to input data in the first empty cell of a row

    Thank you, I appreciate it.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: I need my userform to input data in the first empty cell of a row

    Try this, but without seeing your spreadsheet, this is a guess.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-14-2014
    Location
    waycross, Ga
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: I need my userform to input data in the first empty cell of a row

    Thanks for the help. I tried the code you suggested and the data was entered on the first empty row of the worksheet (All the way at the bottom). What i am hoping to do is use my userform and add a combobox which contains employee names (these are located in A3:A27). When the employee name is selected, I would like the data from the userform to be entered into the first empty cell (and the two to the immediate right) of the corresponding row on the worksheet. I would upload an attachment of my worksheet but i am afraid that is forbidden by my employer.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: I need my userform to input data in the first empty cell of a row

    Better understanding. Thanks for the explanation.

    Try this:

    Please Login or Register  to view this content.

+ 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. [SOLVED] Data from Userform not going into last empty cell
    By hstarr2021 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2013, 07:14 PM
  2. [SOLVED] userform data to cell in empty column
    By mabulco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-07-2013, 07:17 AM
  3. Replies: 4
    Last Post: 11-28-2012, 06:09 PM
  4. Taking data from an Input box and putting it in the first empty cell in a range
    By Benisato in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2012, 12:03 PM
  5. Help - input data in next empty row
    By sharky12345 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-23-2010, 08:37 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