Datatable filter certain range and addrow

Looking for filter from datatable and assign to “AddDataRow” and write it to write range as it does not work. suggest.