Results 1 to 54 of 54

macro/vba to divide data sheet into two sheet

Threaded View

  1. #1
    Registered User
    Join Date
    10-11-2020
    Location
    India
    MS-Off Ver
    2013
    Posts
    36

    macro/vba to divide data sheet into two sheet

    Need to divide the data in data sheet into two sheets

    1)Only those records should move to the newly created two sheets in which the Date of birth is in DD-MMM-YY format(12-Nov-15).Records where the date of birth is not in said format or is 0,blank,text, numbers etc should get skipped.

    2)In the newly created two sheets the value visible in original data sheet should get pasted, and the formula should not get pasted.

    3)Input box for, which columns I want to be copied to new sheets (As all the columns need not be copied).Not in term of header but column name like A,B,C,H,I,J

    4)input box for, row range for each new sheet (like row 2-400 to sheet1, 450-650 to sheet2).It is not not necessary that all the data will be get divided into two sheets, so the row range for 2nd sheet should not get auto fixed by selection of row range for first sheet. e.g It may happen that records between row 5 to 400 will go to one sheet and records between row 450 to 600 will go to second sheet, rest of record need not be copied to either of sheet.

    5)input box to, name the newly created two sheet

    6)input box for, name of workbook to which I want to move these newly created sheets and provision for error message if the workbook to which I want to move these sheets is not open.

    Thanks
    Attached Files Attached Files
    Last edited by gautam5; 10-17-2020 at 12:15 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to fill the data into Summary sheet basis of different scenarios from Data sheet
    By Manish_Gupta in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2016, 11:48 AM
  2. Macro to divide sheet
    By excel1983 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2014, 12:19 PM
  3. [SOLVED] Macro to copy data from a master sheet to separate sheet as per date using a macro
    By tmaster81 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-23-2014, 08:05 AM
  4. Replies: 2
    Last Post: 05-01-2013, 12:26 PM
  5. [SOLVED] Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A
    By scass in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2012, 07:21 PM
  6. Macro/Module running as background process, copy data from sheet to sheet
    By ctor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-05-2009, 05:48 AM
  7. Need macro to copy data from sheet 1 to multiple pages on sheet 2 in correct cells
    By iturnrocks in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-16-2009, 03:33 PM

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