finalrow = Cells(Rows.Count, "A").End(xlUp).Row
'date
Range("a2:a" & finalrow).SpecialCells(xlCellTypeVisible).Copy
''
rpt100.Activate
totalrow = Cells(Rows.Count, "A").End(xlUp).Row + 1
Range("o" & totalrow).PasteSpecial xlPasteValues
''
LML.Activate
'account
Range("b2:b" & finalrow).SpecialCells(xlCellTypeVisible).Copy
''
rpt100.Activate
Range("c" & totalrow).PasteSpecial xlPasteValues
''
LML.Activate
'inv
Range("n2:n" & finalrow).SpecialCells(xlCellTypeVisible).Copy
''
rpt100.Activate
Range("a" & totalrow).PasteSpecial xlPasteValues
''
constarntly going back and forth
'date
Range("a2:a" & finalrow).SpecialCells(xlCellTypeVisible).Copy
''
rpt100.Activate
totalrow = Cells(Rows.Count, "A").End(xlUp).Row + 1
Range("o" & totalrow).PasteSpecial xlPasteValues
''
LML.Activate
'account
Range("b2:b" & finalrow).SpecialCells(xlCellTypeVisible).Copy
''
rpt100.Activate
Range("c" & totalrow).PasteSpecial xlPasteValues
''
LML.Activate
'inv
Range("n2:n" & finalrow).SpecialCells(xlCellTypeVisible).Copy
''
rpt100.Activate
Range("a" & totalrow).PasteSpecial xlPasteValues
''
constarntly going back and forth