+ Reply to Thread
Results 1 to 4 of 4

VBA to export two set of data from one file to two file

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

    VBA to export two set of data from one file to two file

    Dear expert

    I have saved N number of files in path, i want export unique values into particular workbook in particular sheet.

    i have saved backup file in one path with sheet of Sub_Account which contains multiple partner name. i want export data of Supreme Systems to Supreme.xlsb workbook[sheet!sub_account] and as well as export data of Webx Technologies to Webx.xlsb workbook[sheet!sub_account]

    VBA code run from empty workbook.
    Copy from BackUp.xslb sheet(Sub_account) Only Supreme Systems Data's Paste Into Supreme.xlsb workbook[sheet!sub_account]
    Copy from BackUp.xslb sheet(Sub_account) Only Webx Technologies Data's Paste Into Webx.xlsb workbook[sheet!sub_account]



    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,127

    Re: VBA to export two set of data from one file to two file

    One of the sheet is named Sub-Account, not Sub_Account, so you need to change it before run.
    Please Login or Register  to view this content.

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

    Re: VBA to export two set of data from one file to two file

    Hi sir It works fine!! I want to keep the backup file as closed workbook in one path and i want run code from empty workbook . but the code which run from backup file only.. Like Supreme.xlsb, Webx.xlsb in one path and backup file in one path. run vba from fresh workbook. code copy data from backup file to Supreme.xlsb, Webx.xlsb

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

    Re: VBA to export two set of data from one file to two file

    Hi sir i tried this code but it getting line error script out of range, please try if you correct it

    Please Login or Register  to view this content.
    Last edited by johnmacpro; 07-19-2016 at 01:22 AM. Reason: explain

+ 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. [SOLVED] To create a file folder in the current workbook location and export the file
    By Ravana in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2016, 07:30 AM
  2. Export Cells to Text and automatically have File Name and File Type Selected
    By bloomingcarrot in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-18-2014, 03:37 PM
  3. [SOLVED] Trying to export a report to .XML file but no data being included in the file
    By steveallany2k6 in forum Access Tables & Databases
    Replies: 2
    Last Post: 04-18-2013, 07:16 AM
  4. Export Excel records to seperate text file & compress it to protecte ZIP file
    By firedragon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2012, 10:47 AM
  5. Export excel file to semicolon delimited text file
    By capitan in forum Excel General
    Replies: 5
    Last Post: 04-06-2005, 11:07 PM
  6. [SOLVED] Export excel file to semicolon delimited text file
    By capitan in forum Excel General
    Replies: 5
    Last Post: 04-06-2005, 11:07 PM
  7. [SOLVED] How do I import text file, analyze data, export results, open next file
    By Geoffro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2005, 04: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