Hi Sunitha,
(1) Below is a connection string that helps users access a spreadsheet as if it was a database; therefore negating the need to open the spreadsheet prior to processing the data.
(2) Open the Database -> Connect dialog, enter in a session name and then use the correct connection string to your version of Excel.
Note: I am using Office 365 therefore my connection string will differ slightly from other versions of Office: Provider=Microsoft.ACE.OLEDB.12.0;Data Source=$str_MyExcel$;Extended Properties="Excel 8.0;HDR=YES”;1. 1.
(3) The code below tells the dialog to connect to a Spreadsheet and also to ignore the headers.
NOTE: $str_MyExcel$ = path and filename for the excel spreadsheet
(4) Then use the Database -> SQL Query
select * from [Sheet1$]
To get all the contents of the excel spreadsheet held into memory.
You are now able to access all the columns via the $Dataset Column$ variable.
I hope that you find this tip useful.
Please comment if you have queries or suggestions.