How to create a dynamic Lookup Datatable?

BTW, Write Rante activity is much faster than writing into cells one by one.