jordanburch
Active Member
- Joined
- Jun 10, 2016
- Messages
- 440
- Office Version
- 2016
Hey guys,
so i apply filters before the following code, but this code isnt working right. I just need it to apply to visible cells only and it just says calculating and only puts in in as2 which it shouldnt because thats filtered out. The rest of the rows are simply blank. When i remove all fiters and try the code it works for all 6000 lines but thats not what im wanting.
Range("as2").Formula = "=CONCATENATE(RC[-40],RC[-39])"
Range("as2:as6000").SpecialCells(xlCellTypeVisible).FillDown
Range("at2").Formula = "=SUMIF(C[-1],RC[-1],C[-9])"
Range("at2:at6000").SpecialCells(xlCellTypeVisible).FillDown
Range("aw2").Formula = "=CONCATENATE(RC[-4],RC[-3])"
Range("aw2:aw6000").SpecialCells(xlCellTypeVisible).FillDown
Any ideas is greatly appreciated!
Jordan
so i apply filters before the following code, but this code isnt working right. I just need it to apply to visible cells only and it just says calculating and only puts in in as2 which it shouldnt because thats filtered out. The rest of the rows are simply blank. When i remove all fiters and try the code it works for all 6000 lines but thats not what im wanting.
Range("as2").Formula = "=CONCATENATE(RC[-40],RC[-39])"
Range("as2:as6000").SpecialCells(xlCellTypeVisible).FillDown
Range("at2").Formula = "=SUMIF(C[-1],RC[-1],C[-9])"
Range("at2:at6000").SpecialCells(xlCellTypeVisible).FillDown
Range("aw2").Formula = "=CONCATENATE(RC[-4],RC[-3])"
Range("aw2:aw6000").SpecialCells(xlCellTypeVisible).FillDown
Any ideas is greatly appreciated!
Jordan