+ Reply to Thread
Results 1 to 5 of 5

Macro for copying specific data from excel files in a folder to a newly created excel file

  1. #1
    Forum Contributor
    Join Date
    04-01-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    128

    Macro for copying specific data from excel files in a folder to a newly created excel file

    Hello,

    I wanted a macro which would open all excel files in a folder and copy paste specific data into a newly created excel file.

    Data :
    1) status = open, pending and in progress
    2) Task name = RTDI and Apply verify price
    3) Container number = "Blank" (It wont be written - Blank cell)

    I want data's to be copied for the above scenarios. Thanks any help will be really appreciated :D
    Attached Files Attached Files

  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: Macro for copying specific data from excel files in a folder to a newly created excel

    Something to get you started, you should be able to adapt it:


    'WORKBOOKS TO 1 SHEET STACKED
    Here's a macro for collecting data from all files in a specific folder.The parts of the code that need to be edited are colored to draw your attention.
    _________________
    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!)

  3. #3
    Forum Contributor
    Join Date
    04-01-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    128

    Re: Macro for copying specific data from excel files in a folder to a newly created excel

    Thanks for the reply..But what i want is datas in excel files consilated into one new excel file...I want the option in the macro to add in the directory and the destination directory...

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Macro for copying specific data from excel files in a folder to a newly created excel

    @Raju

    So from you uploaded worksheet only line 3 will be pulled in and loaded to a new Excel File?

  5. #5
    Forum Contributor
    Join Date
    04-01-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    128

    Re: Macro for copying specific data from excel files in a folder to a newly created excel

    From row two....all the data should be copied onto a new vessel or to the next sheet i.e. sheet 2...

    Now in column, data will be available till column Q and data can be unlimited.

    Thanks for the reply

+ 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