+ Reply to Thread
Results 1 to 6 of 6

[Solved] Macro Help for cell replace vs. dropping down

  1. #1
    Registered User
    Join Date
    04-08-2017
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    32

    [Solved] Macro Help for cell replace vs. dropping down

    Hello Everyone,

    I am trying to create a UserForm and I am almost done.

    The problem I am having I have this UserForm that sends information from a text box on to another sheet. When someone puts in that information it goes to the first empty row and puts that information in the 1st, 2nd, 3rd cell. As you start to add more and more information it will drop down to the next row.

    How do I make it so that way if a person puts information in to a UserForm it will replace the information in the first row and not go down a row?

    Let me know! Thanks in advanced.

    Please Login or Register  to view this content.
    Last edited by jbagnall2004; 04-12-2017 at 01:33 PM.

  2. #2
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Macro Help for cell replace vs. dropping down

    If you take the +1 out at the end of the lRow line, does that do it?

    BTW, could you put code tags around your code please.

  3. #3
    Registered User
    Join Date
    04-08-2017
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    32

    Re: Macro Help for cell replace vs. dropping down

    Sorry about. New to VBA coding and this forum. I tried taking off the Row+1 and it didn't work. What else could I try?

    Before :
    Please Login or Register  to view this content.

    After
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Macro Help for cell replace vs. dropping down

    NOT "Row + 1", just the "+ 1". Leave the Row where it is.
    I don't know if that is the problem. Would need an attached file from you to try it on.

  5. #5
    Registered User
    Join Date
    04-08-2017
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    32

    Re: Macro Help for cell replace vs. dropping down

    Like Magic! You are the best! Wish I could donate to you

  6. #6
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Macro Help for cell replace vs. dropping down

    All that matters is that it works. If you're happy, the whole world is happy for you.
    Good luck

+ 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] Pivot calculated fields - dropping needed fields without dropping calculations
    By Aly1978 in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 03-15-2017, 10:25 PM
  2. Something in my code dropping a formula in the wrong cell
    By TakiTaki in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-17-2015, 09:51 AM
  3. Dropping New Data in a workbook and running pivots through Macro
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-03-2015, 11:04 AM
  4. [SOLVED] Link cell from one sheet to another, but it's dropping the ending zeroes
    By gawk1980 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-03-2013, 11:44 PM
  5. Replacing cell data without dropping the zeros
    By Hyflex in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-29-2011, 01:34 PM
  6. Replies: 3
    Last Post: 06-23-2006, 09:45 PM
  7. [SOLVED] Macro code for dropping to next empty cell
    By JB2010 in forum Excel General
    Replies: 4
    Last Post: 11-03-2005, 09:40 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