Results 1 to 12 of 12

Find first empty cell in column and enter value from textbox

Threaded View

  1. #1
    Registered User
    Join Date
    09-09-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    21

    Find first empty cell in column and enter value from textbox

    I have a textbox in a UserForm that I'm using to add a text str to empty cells in a column. Using the following code:

    Private Sub TextBox1_Change()
        Range("A2").Value = TextBox1.Value
    End Sub
    I'd like to have excel look for the next empty cell the column. I found, what looks like to me, an elegant solution:

    Range("A1").End(xldown).Offset(1,0).Select
    I'm having trouble combining the codes and this is where I need help.

    Thanks
    Last edited by JBeaucaire; 09-15-2014 at 04:54 PM. Reason: Added missing CODE tags. Please read and follow the Forum Rules, link above in the menu bar. Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 05-13-2014, 10:19 AM
  2. Need to find empty filled cells in a column and copy to the empty cell below
    By Grahamfeeley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 10:09 AM
  3. [SOLVED] Find the last cell with value in column E and Send value of textbox to the same row in col
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-24-2013, 12:15 PM
  4. [SOLVED] Macro to find the empty cell in a column and copy a adjacent row to another column.
    By naga in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2013, 07:44 AM
  5. [SOLVED] Loop to find cells based on criteria, enter formula into next empty column
    By cschoyer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2012, 03:32 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