+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Copy and Paste columns between files

  1. #1
    Registered User
    Join Date
    04-17-2009
    Location
    us
    MS-Off Ver
    Excel 2007
    Posts
    1

    Copy and Paste columns between files

    Hi, I am new to macro and new to this forum. I have an excel sheet generated by a software with bunch of data. There are about 25 columns in there. I need a macro that will let me pick the columns that I want so that I can extract only the necessary columns. I need to create about 10 different sheets for 10 different companies from the same excel sheet but none of them require all the columns. So far I have been manually cpoying the columns and pasting it in another file for each company. Thats a pain, and i spend a lot of time just doing this. I would love to automate this with macro. Can someone please give me the codes for this or tell me what to do???

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Copy and Paste columns between files

    You actually may not need a macro. If your generated data sheet comes in the same format all the time (or even if it doesn't), it may be possible to structure some formulas on your permanent company sheets that just grabs the data it needs on its own.

    Is it possible for you to upload a sample (10 rows or so) of data in a workbook with a couple of sheets for your companies that you're copying to? I might be able to help in that way.

    If you don't want a 'realtime' update like that (which i would prefer) then a macro can be designed, but it would still be easiest if you give us a GOOD sample sheet to work from to write the macro.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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