+ Reply to Thread
Results 1 to 3 of 3

Populate a worksheet cell from a textbox to the next available cell in column B

  1. #1
    Registered User
    Join Date
    10-14-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    82

    Populate a worksheet cell from a textbox to the next available cell in column B

    Hi
    I am trying to fill cells in a worksheet where the textbox fills the next available cell in column B. I have got that bit right but i also need to do the same with column A, the problem is i have two textboxes to fill cells in B and only one in A and i want the one in A to be in the same row as the first textbox in B, it will work the first time but when i follow on there is obviously cells in A which are empty and they dont line up.

    A = textbox1= "text" B =textbox2 = "text" this row is correct
    empty row
    A = textbox1 = "text" B = textbox3 = "text" this row in Column A should be empty
    empty row
    A = textbox1= "text" B =textbox2 = "text" this row is correct

    hope i have explained correctly

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483

    Re: Textboxes

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Textboxes

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Replies: 0
    Last Post: 08-19-2013, 05:12 AM
  2. Replies: 3
    Last Post: 03-06-2013, 03:39 PM
  3. Populate a column based on input from a textbox
    By AnthonyWB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2012, 03:39 PM
  4. VBA - Populate Cell in Column F if Adjacent cell in Column E is not blank
    By DoriBeE in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-14-2011, 04:46 PM
  5. Replies: 2
    Last Post: 01-26-2011, 05:56 PM

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