+ Reply to Thread
Results 1 to 6 of 6

Transferring data from 5 excel files to 1 new excel sheeet

  1. #1
    Registered User
    Join Date
    09-06-2007
    Posts
    3

    Transferring data from 5 excel files to 1 new excel sheeet

    Hello,

    I would like to do the following:

    1. I have 5 excel files
    2. I would like to create a new one that will have data from different columns of those 5 files
    3. Those 5 files are huge and simple cut n paste would not help
    4. Is there any way to have those data into one excel file

  2. #2
    Forum Contributor
    Join Date
    09-04-2006
    Location
    Yorkshire, England
    Posts
    267
    So you want specific data, not the whole lot?
    JR
    Versions
    Mac OS X 'Leopard'
    Mac MS Office Excel 2004
    Windows XP
    MS Excel 2002
    MS Excel 2003

  3. #3
    Registered User
    Join Date
    09-06-2007
    Posts
    3
    Yes, I would like to have few columns from File 1 (sheet1), file 1(sheet3) as well as file 2, 3 so on.

    But my goal is to create a single excel sheet having all those data.

    Is there any way to program it with excel?or filter!!!

  4. #4
    Forum Contributor
    Join Date
    09-04-2006
    Location
    Yorkshire, England
    Posts
    267
    Hi

    you can use this code to pull info into one sheet, just alter ranges/column numbers/ sheet names etc. Just copy into a standard VBA module and assign macro 1 to a button.

    Please Login or Register  to view this content.

    hope it helps

  5. #5
    Registered User
    Join Date
    09-06-2007
    Posts
    3
    Thanks a lot for the code.

    I never used any codes in excel before. I will try to use it.
    It would be good if I could contact you by phone.

  6. #6
    Forum Contributor
    Join Date
    09-04-2006
    Location
    Yorkshire, England
    Posts
    267
    Theres no need to waste money on phone calls just post here and if not me someone will pick up your question. I do this in my spare time from work (of which i have very little due to been in the crazy world of management infomation) so i am not always around.


    Alt-F11 is the shortcut key to open the vba (Visual Basic for Applications (similar but the same as Visual basic 6).

    Insert > Module > Then just copy and paste the code in.

    Close the editor 9save if you like but dont forget to save the workbook as well.

    Now you can create buttons two ways, using buttons or autoshapes. The nice thing about buttons is they have that click effect. Then again you are limited to rectangles. With autoshapes you can create a wide number of different looking buttons, circles, squares, stars etc, however they dont have the click effect.

    Its handy to have two toolbars open at this point

    view > toolbars > forms (button toolbar) and drawing (autoshapes)

    now when you create a button it will ask you to assign a macro, autoshapes dont but right click then assign macro.

    make sure you close the vba editor down before you run as it wont run in break mode (Editing)

    Hope it helps

+ 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