+ Reply to Thread
Results 1 to 9 of 9

amend code copy data from userform to sheet before lastrow

  1. #1
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    amend code copy data from userform to sheet before lastrow

    hello
    i have this code works so well it copy data from userform to sheet but i would every time copy data before lastrow ("total")
    any idea to add line code to do that or alternative code
    HTML Code: 
    Attached Files Attached Files

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: amend code copy data from userform to sheet before lastrow

    last time...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: amend code copy data from userform to sheet before lastrow

    your inventor sintek well done , i would ask you if i have combobox on user form can i add this tool in this line
    HTML Code: 

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: amend code copy data from userform to sheet before lastrow

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: amend code copy data from userform to sheet before lastrow

    thanks buddy your code is simple i try to understand it line by line

    best regards
    abdelfattah

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: amend code copy data from userform to sheet before lastrow

    Pleasure...Thanks for rep +

    Untitled.png

    8th time assisting and still no rep +
    Last edited by sintek; 08-13-2020 at 05:48 AM.

  7. #7
    Forum Contributor
    Join Date
    06-02-2019
    Location
    libya
    MS-Off Ver
    2010
    Posts
    734

    Re: amend code copy data from userform to sheet before lastrow

    i'm sorry about rep but believe me this is not in my hand yesterday and today i try to do that but it gives me message i don't understand then i ignore it that's why no rep in recently this is what got when i add rep
    Attachment 690829

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,885

    Re: amend code copy data from userform to sheet before lastrow

    Quote Originally Posted by sintek View Post
    Pleasure...Thanks for rep +

    Attachment 690824

    8th time assisting and still no rep +
    You should NOT be commenting on this. The awarding of reputation is not mandatory - it is ENTIRELY discretionary. You should not be expecting it - if you get it, it's nice, but that's it.

    Please do not demand rep points in this way again.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  9. #9
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: amend code copy data from userform to sheet before lastrow

    Please do not demand rep points in this way again.
    Was not demanding...Just giving feedback regarding - "observation"
    Will not happen again...
    Last edited by sintek; 08-14-2020 at 03:50 PM.

+ 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] amend code copy filtered data from sheet to another based on month
    By ABDELFATTA in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 08-01-2020, 12:21 AM
  2. Code to amend pricing from one sheet to another
    By Jemwig in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 03-25-2020, 01:15 PM
  3. Autofill Data based off current sheet lastrow not first sheet lastrow
    By bcarroll76 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2018, 06:26 PM
  4. Amend Code to copy value and paste in same spreadhsheet
    By Chaos00 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-20-2018, 09:49 AM
  5. [SOLVED] Amend code to copy after last row where there is data
    By flupsie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-02-2018, 01:07 AM
  6. [SOLVED] amend vba code to copy as values
    By Nubian in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-02-2016, 11:50 AM
  7. [SOLVED] Copy formula from one sheet & paste in other sheet after lastrow
    By Parth007 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-16-2015, 09:32 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