+ Reply to Thread
Results 1 to 2 of 2

copy and paste data from one worksheet cell to another using command button

  1. #1
    Registered User
    Join Date
    09-13-2011
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    1

    copy and paste data from one worksheet cell to another using command button

    hi guys,

    need some help here on copying data from cells on one worksheet to another worksheet on the same workbook. i tried to search around but still could not find which is the best to solution.

    here is a short detail of what i want to do:

    worksheet 1 (input):
    i have a range of cells divided into fields which contains data. these fields are the same on worksheet 2 (which serves as my database sheet)

    problem: i want to create a command button which after clicking would copy the data from worksheet1 to corresponding fields in worksheet2.
    (anybody can help with formulating the code?)

    i have attached the file i was working with for easier reference.

    hoping someone can help with this.
    thanks very much.
    Attached Files Attached Files

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: copy and paste data from one worksheet cell to another using command button

    Hi jasonruiz,

    Put this into a module, then assign it to the button you have on your sheet.

    I have made the assumption that you want to move down a row after every entry so that you don't overwrite data.

    Please Login or Register  to view this content.
    What will you do if the DBase sheet needs to extend past 39 rows however? You currently have a signature line down here. If you moved this to the top of the sheet, you could keep moving down with a slight amendment to the above.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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