+ Reply to Thread
Results 1 to 5 of 5

Macro button to split data to multiple work book

  1. #1
    Forum Contributor
    Join Date
    06-12-2013
    Location
    india
    MS-Off Ver
    Office 365
    Posts
    163

    Macro button to split data to multiple work book

    I need a macro file with the macro button where it should work as below.

    - When I click on the macro button, pop up should open to select the report from my local drive(the report will be in .xls or .xlsx or .csv format)
    - Once I selected the report it should ask for the column name to input.
    - Once I input the column name, the data needs to split in to multiple work books based on the unique cell valued on the selected column.
    - the splitted work book should be named as "cell value - macro work book name". and file should be save in .csv format
    - before saving the file the comma "," should be replaced with semicolon";" in any of the cell on the given workbook.

    -----for example: macro work book name is "Test macro book" and I do have the cell value like "standard 1", "standard 2", "standard 3". so when I split the data to multiple workbooks it should name as below.

    standard 1 - Test macro book
    standard 2 - Test macro book
    standard 3 - Test macro book.

    Please let me know if you need further details
    Last edited by Giri.hb; 09-23-2019 at 12:30 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: need macro file with macro button to import and split the data in to multiple work boo

    What have you already accomplished? Where did it go wrong? Can you please post what you already have? Thanks

  3. #3
    Forum Contributor
    Join Date
    06-12-2013
    Location
    india
    MS-Off Ver
    Office 365
    Posts
    163

    Re: need macro file with macro button to import and split the data in to multiple work boo

    I don't know much about macros but I have tried searching VBA codes in Google but it is not working as per my requirements. Kindly check assist.
    Last edited by Giri.hb; 09-17-2019 at 12:05 PM.

  4. #4
    Forum Contributor
    Join Date
    06-12-2013
    Location
    india
    MS-Off Ver
    Office 365
    Posts
    163

    Re: need macro file with macro button to import and split the data in to multiple work boo

    Please someone help me on this request at the earliest possible.

  5. #5
    Forum Contributor
    Join Date
    06-12-2013
    Location
    india
    MS-Off Ver
    Office 365
    Posts
    163

    Re: Macro button to split data to multiple work book

    I do have an Macro file with the code where when I paste my data in to Raw data sheet and click on the button it will ask to select the headers on the file and again I need to enter the column header where I need to split the data based on that column and data is getting segregated on the same file.

    So I need the data based on below given requirements. Kindly help me on this.

    When I click on the macro button, pop up should open to select the report from my local drive(the report will be in .xls or .xlsx or .csv format)
    - Once I selected the report it should ask for the column header name to input.
    - Once I input the column header name, the data needs to split in to multiple work books based on the unique cell value on the selected column.
    - before saving the file the comma "," should be replaced with semicolon";" in any of the cell on the given workbook.
    - the splitted work book should be named as "cell value - macro work book name". and file should be save in .csv format


    -----for example: macro work book name is "Book1" and I do have the cell value like "ABC", "BCA", "DAB". so when I split the data to multiple workbooks it should name as below.

    ABC - Book1
    BCA - Book1
    DAB - Book1

    Please let me know if you need any further details
    Attached Files Attached Files

+ 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] Import cell data from multiple work books in same folder?
    By GC1 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 08-14-2017, 08:23 AM
  2. Replies: 3
    Last Post: 04-06-2016, 10:59 AM
  3. Macro to split data into multiple sheets AND books
    By wstevens in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2014, 12:00 PM
  4. Macro for merging multiple work books
    By sridileep in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-21-2013, 01:37 AM
  5. Replies: 8
    Last Post: 11-12-2012, 02:39 PM
  6. Macro to collate data from different work books and different work sheets
    By bvdileep in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-04-2012, 05:34 AM
  7. using a macro to import data from closed work books (various)
    By madbrit in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-09-2012, 02:52 AM

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