+ Reply to Thread
Results 1 to 3 of 3

Copying selected cells from multiple rows and columns from worksheet to worksheet

  1. #1
    Registered User
    Join Date
    05-23-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Microsoft 365 Apps for enterprise or family
    Posts
    12

    Copying selected cells from multiple rows and columns from worksheet to worksheet

    Hi!

    So. I have this huge excel-file with many differet worksheets. What I want to be able to do is select several rows in column B (and which rows are selected varies from time to time - sometimes rows 4-5 another time perhaps 140-250 or 31-357) in Worksheet1 and then copy the information in the selected rows from column B, C and E to Worksheet2 where they end up in column A, B and C on the first row where there is no information.

    Oh, and if the information in for instance row 149 in the 140-250 example above already exists in Workheet2 then that information should not be copied.

    Is this doable? If so - how?

  2. #2
    Valued Forum Contributor StevenM's Avatar
    Join Date
    03-23-2008
    Location
    New Lenox, IL USA
    MS-Off Ver
    2007
    Posts
    910

    Re: Copying selected cells from multiple rows and columns from worksheet to worksheet

    Backup your data.
    Place code in a standard module.
    Select rows to be copied.
    Run: CopyBCE2Sheet2ABC

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-23-2012
    Location
    Stockholm, Sweden
    MS-Off Ver
    Microsoft 365 Apps for enterprise or family
    Posts
    12

    Re: Copying selected cells from multiple rows and columns from worksheet to worksheet

    It worked great! Many thanks!

    Of course I forgot to mention some other paramaters that where pretty important, but I managed to figure out how to incorporate that into your code. :D

+ 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