+ Reply to Thread
Results 1 to 6 of 6

Help on VBA Code to split rows into newwb depends upon cell criterial

  1. #1
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Help on VBA Code to split rows into newwb depends upon cell criterial

    Dear Experts

    I need an vba code to help my data split as new workbook sheet

    in the excel file Master data have sheet rawdata G:G column contains module data
    i want move data which is contains key string Disconnect,Cancel,Cancellation,Suspend,(Lanx - Active)

    for e.g Disconnect - Fibre to the Basement(WMS)
    Cancel - Fibre to the Basement (KML)(KML)
    GT-Flight Cancel Fibre to the Distribution Point/Curb(WMS)
    GT-Flight Cancellation Fibre to the Distribution Point/Curb(WMS)
    Suspended - Fibre to the Node(WMS)
    - Hybrid Fibre Coaxial(WMS) (LanX - Active)

    like kind of key matching strokes in text values might be in prefix or suffix or in between text values in every row
    all Disconnect data move to disconnect sheet
    all Cancel,suspend,(LanX - Active) move to cancel sheet.

    please find the attachment bin file is my expected result
    Attached Files Attached Files

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

    Re: Help on VBA Code to split rows into newwb depends upon cell criterial

    try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: Help on VBA Code to split rows into newwb depends upon cell criterial

    Brah i want save data without asking open particular folder ,
    Can u do small favor make it to save data to located target file on particular sheet becoz i going to loop this code with more actions call
    i saved Bin_file in this is file path C:\Users\Windows 10\Desktop\BT_Project

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

    Re: Help on VBA Code to split rows into newwb depends upon cell criterial

    Change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: Help on VBA Code to split rows into newwb depends upon cell criterial

    Thanks alot brah works 100%

  6. #6
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: Help on VBA Code to split rows into newwb depends upon cell criterial

    Hi Experts , I opened thread on code i just re-form the code instead of G i assisgn AO as filter column but it does not work,
    i want copy entire range from A:BI filter column is AO, once copied and moved to target files sheets. copied data should be deleted in masterfile.
    Please Login or Register  to view this content.
    pls help on this.
    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] Depends on sheet1 cell value another sheet rows will be hide
    By rajeshn_in in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-10-2017, 01:39 AM
  2. [SOLVED] Create multiple rows of single row depends on cell value
    By Parth007 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2016, 05:37 AM
  3. need vba code to split rows to closed wb shets depends company code met with sht name
    By julielara in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2016, 12:44 PM
  4. [SOLVED] Need vba code to move unique rows of D:D to corresponding sheet depends upon sht name
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-11-2016, 01:18 AM
  5. Need Macro code to split data split in 7 sheets based on variable rows in column A
    By Alija_21 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2015, 08:03 AM
  6. How to format rows when its formatting depends on the value of other cell
    By Tutai in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2014, 06:15 PM
  7. Insert multiple rows depends on cell value is getting error
    By Dharmadme in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-22-2014, 04:19 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