VBA Formula replication in a Table does not work

Pacool

New Member
Joined
Oct 14, 2016
Messages
14
Hello!

I have preapred a macro that copies filtered scope and pastes it in another workbook in a Table.
Usually when we paste a database that has more rows into a table, formulas placed in additional columns are being replicated to the new rows.
But it is not working when i use a code:

Code:
    CountrySourceFile.Sheets("Sheet1").Activate
    ActiveSheet.ListObjects("Table1").Range.AutoFilter Field:=4, Criteria1:=Left(It.Name, InStr(It.Name, "_") - 1)
    CountrySourceFile.Sheets("Sheet1").Range("A1").CurrentRegion.Offset(1).SpecialCells(xlCellTypeVisible).Copy
    It.Sheets("Sheet1").Range("A2").PasteSpecial xlPasteValues

It is very strange that data is being pasted correctly but there is no "response" from a table in terms of formula replication.

Do you maybe have any ideas why?

Thanks!
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,215,771
Messages
6,126,799
Members
449,337
Latest member
BBV123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top