the occurs in the first line?
this line:
object with_0 = workSheet.QueryTables.Add("TEXT;" + "", null);
works fine for me. but you can't use 'object' in c# of course, you have to use Excel.QueryTable or the dynamic keyword.
Sebastian
this line:
object with_0 = workSheet.QueryTables.Add("TEXT;" + "", null);
works fine for me. but you can't use 'object' in c# of course, you have to use Excel.QueryTable or the dynamic keyword.
Sebastian