I have now the code below
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Syral.xlsx;Extended Properties=Excel 8.0
I would like to get the data source from a textbox, is this possible?
thanks
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & textbox1.text & ";Extended Properties=Excel 8.0"