Posts by haroon2015

    Re: Worksheet_Change Event Add unique value to Sheets


    No its not dynamic,
    ABD = Sheets("total").range("B4:B100") And
    ABE = Sheets("hide").range("C10:C100")


    if we need 5th value then add it to ABD and ABE but only if its a unique value, i mean if this value already not added to ABD and ABE
    thanx

    hi,
    i have a range Sheets("entry").range("c10:c300")
    i want when i input data in above range then value automatically add to Name Range ("ABD") and Name Range ("ABE") but only unique value


    for example
    i add in range c10 = "ALAN" Then add "ALAN" To Name Range ("ABD") And ("ABE")
    again
    i add in range c11 = "BLAN" Then add "BLAN" To Name Range ("ABD") And ("ABE")
    again
    i add in range c12 = "ALAN" Then Don't add "BLAN" To Name Range ("ABD") And ("ABE")



    thanx

    hi every one,
    i want to update my sheet1 from sheet2


    i have data in sheet1.range(a2:i500)
    every day i do back up of work in sheet2


    i want to update my sheet1 from sheet2 after backup


    when i want to update and run macro
    i want to popup a InputBox now
    i fill a value in inputbox = 31-DEC-2016
    now macro search in sheet2 and column b4:b1000
    and the macro found value 31-DEC-2016 in column c and rows c94:c111


    then copy the range c94:c111 and paste in sheet1 in range a2, and macro should also add new rows according to copied range..(count rows = 18)


    then add new 18 rows and paste from a2


    range form sheet2
    [ATTACH=CONFIG]71044[/ATTACH][ATTACH=CONFIG]71044[/ATTACH]
    Befor update
    and
    after update



    sample workbook added

    hi,
    i am using below code to filter table according to cell value



    in above code i need some changing.....
    1 - what's wrong in above code is when i input data in cell separately B1, C1, D1, F1, I1, above code filtered data, now i delete the inputvalue from range then table is not going to unfiltered....it it filtring the "" also, i don't want to filter ""


    2 - i need little improvement in above code is i want to filter data at once when i input data in above cell range
    for example - i want to filter "harooon", in cell "I1", and i type in cell I1 ..."H" then it filter the all data with the value of "H" When i cancel the typed h then unfilter the table..



    thanx

    hi,
    i am using below code to run the macro




    in above code what i want to change are


    check sheet15 is hide then unhide them
    check sheet22 is hide then unhide them
    check sheet23 is hide then unhide them
    check sheet24 is hide then unhide them


    like below



    thanx in advance

    Re: Vba code is taking too much time to do job



    in above formula, first it count the range w4:w53 greater then 0
    it found 3 values


    then it copy a4:r46 and paste them 3 time


    first time it copy range a4:r46 and paste them to a47
    again it copy ragne a4:r46 and paste them to a90
    again it copy range a4:r46 and paste them to a133


    it takes too much time to copy paste


    count 30
    it take 26 seconds


    if possible


    it copy first time a4:r46 and paste them to A47
    and
    second time it copy from A47:r89 and paste them to a90


    and continue
    will this process slow down the copy paste value?