But I get the message cannot convert String to Datatable.
Is there any simple way to indicate that this row refers to the datatable created in the begining (name of the created datatable is the same as in the excel file)
You can’t convert a string to a variable name. If you want to use a string to identify a datatable, you need to create a translation table/dictionary. E.g. you could create a dictionary with the name as key and the datatable variable as value:
dicTables = New Dictionary(Of String, DataTable)
Add all your datatable variables to the dictionary: