+ Reply to Thread
Results 1 to 4 of 4

vba to export data from single wb along with existing 2 sheet!!

  1. #1
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    vba to export data from single wb along with existing 2 sheet!!

    Dear experts

    I have N number of multiple closed workbooks in desired path with sheet list like A,B,C...etc

    i want vba to export data from single closed workbook sheets Acc&Sub acc depends upon unique value of H:H column of closed workbooks A,B,...etc
    along with existing sheets FY-15 & FY-16

    for e.g In workbook A sheet(List) H:H column Unique values are TE001, & TE002. I want export TE001&TE002 from Datafile.wb Acc&Sub acc sheet.
    at end copy FY15 & 16 sheet to all workbook.

    In workbook B sheet(List) H:H column Unique values are TE001,TE003&TE004. I want export TE001,TE003,TE004 from Datafile.wb Acc&Sub acc sheet.
    at end copy FY15 & 16 sheet to all workbook.


    find the attachment.. You may understand. i want run macro in blankworkbook.
    A,B,C....Files stored in C:\Users\Julie\Desktop\FY16
    DataFile stored in C:\Users\Julie\Desktop\Data
    Attached Files Attached Files
    Last edited by johnmacpro; 04-15-2016 at 12:20 PM. Reason: Exs

  2. #2
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    Re: vba to export data from single wb along with existing 2 sheet!!

    any experts help on this?

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: vba to export data from single wb along with existing 2 sheet!!

    Hi John

    I can only hope your not running on a Mac Platform.

    Place the attached Code Book anywhere you please. Change the Paths as required. tgtPath is the Path where your A, B, C, etc files are located. srcPath is where the Datafile.xlsb is located.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Forum Contributor
    Join Date
    02-28-2016
    Location
    australia
    MS-Off Ver
    2019
    Posts
    194

    Re: vba to export data from single wb along with existing 2 sheet!!

    Amazing works sir Thanks for being your valuable time for my post!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Export all charts (embedded and single chart sheet) to a single PDF File
    By trizzo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-23-2016, 09:56 AM
  2. Export single sheet as CSV?
    By Daniel86 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2013, 02:18 AM
  3. Export Specific Data from existing excel spreadsheet into new Excel Sheet
    By Annie1065 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-24-2012, 03:34 AM
  4. [SOLVED] Need a macro to export a single sheet as - Paste special (Values)
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2012, 12:00 PM
  5. Replies: 1
    Last Post: 08-15-2009, 05:52 AM
  6. Export single sheet in csv format?
    By bluefrog in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-08-2008, 06:55 AM
  7. [SOLVED] Macro to export data from active .doc form to an existing .xls
    By Jidings in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-29-2005, 02:06 PM

Tags for this Thread

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