+ Reply to Thread
Results 1 to 4 of 4

Data from Userform not going into last empty cell

  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    Augusta, Georgia
    MS-Off Ver
    Excel 2010
    Posts
    13

    Data from Userform not going into last empty cell

    I need a little help! The attached workbook has a user form that someone enters daily data into. Everything works fine but instead of the data going into the last blank cell of the correct column it overwrites data on another row already containing data. The data needs to go into sheet 1. Can anyone tell me what I am doing wrong?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Data from Userform not going into last empty cell

    Hi,

    you need to change the line

    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    or alternatively,
    Please Login or Register  to view this content.
    as Sheet1 in this case refers to the sheet "Monthly Metrics Summary" and not "Sheet1"
    Last edited by berlan; 12-17-2013 at 07:03 PM.

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Data from Userform not going into last empty cell

    Please change the code for Command Button 1 to this..

    Please Login or Register  to view this content.
    Sheet1 and Sheets("Sheet1") are not same thing.. One is Sheets Code Name and another is Sheet's Display name..
    Sheet(1) is Index Of that Sheet
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  4. #4
    Registered User
    Join Date
    11-08-2013
    Location
    Augusta, Georgia
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Data from Userform not going into last empty cell

    Dbraj.....you are awesome. I have been struggling with this all day!

+ 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. Add userform data into first empty row on sheet
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 6
    Last Post: 12-14-2013, 10:03 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. [SOLVED] Userform to add data into next empty row
    By andywsw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-07-2012, 10:10 PM
  4. Userform - always add data to next available empty row
    By D_N_L in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-17-2012, 03:54 AM
  5. Transfer Userform Data to next empty Row
    By Mrs. Robinson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2010, 04:24 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