+ Reply to Thread
Results 1 to 2 of 2

Exporting a record to another sheet

  1. #1
    Registered User
    Join Date
    08-30-2007
    Posts
    35

    Exporting a record to another sheet

    Hello,

    I have a query regarding transferring a row of data from one sheet to another. Basically i have a userform which displays all the records in my master sheet. I need some code to go behind an export button that;

    - deletes the selected row from the master sheet
    - copies it to the next available row of the 'Export' sheet

    Ideally would want this to be code that copies the data from the cells....not from whats loaded into the text boxes on the userform.

    Can ne1 help?

    See attached file for current work.

    Many Thanks to all

    Tom
    Attached Files Attached Files
    Last edited by VBA Noob; 11-23-2007 at 05:33 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Tom,

    The attached workbook has this macro added to "module 1". You can call this from your Export buttons. This will copy the entire row of the Active Cell on the "Master Data" worksheet to the next available row on "For Export", and then delete the row on "Master Data".

    Macro Code
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross
    Attached Files Attached Files

+ 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