Results 1 to 2 of 2

Copy row(s) and insert certain cells (always from same columns) into new row(s) in wo

Threaded View

  1. #1
    Registered User
    Join Date
    11-15-2011
    Location
    Eskilstuna, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    1

    Post Copy row(s) and insert certain cells (always from same columns) into new row(s) in wo

    The title should be: "Copy row(s) and insert certain cells (always from same columns) into new row(s) in worksheet "

    Hi,
    I have searched but not fond a solution for my problem, so I need assistance with a copy/paste/insert operation!
    We have a shared workbook with a sheet consisting of 6000+ rows of data (and incresing) where the users need to be able to copy and paste multiple rows as well as insert empty rows. That works fine today, but with too much data is copied to the new rows. The sheet is filtered most of the time during these operations.

    The users select whatever desired rows to copy and click on the desired button.
    We use Excel 2010 for the workbook.

    The existing code (simpliest possible):
    Private Sub copy_row_Click()
    Selection.Copy
    Selection.Insert Shift:=xlDown
    ActiveCell.Select
    End Sub
    The columns we need data from is B, C, D and E and the rest may be empty!
    An extract of the sheet is attached!
    Attached Files Attached Files
    Last edited by Zongordon; 11-15-2011 at 05:51 PM. Reason: Truncated title

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