I want to open spss .sav data files in excel without open the spss files(i don't want to convert spss data file into excel file), I know this is possible using OLDB connection, but i don't know how to do this.
Can anyone help me to do this?
Thanks in advance.
You can do it via ODBC. The steps to do it:
I tried the below and it worked well,
Install Dimensions Data Model and OLE DB Access
and follow the below steps in excel
Data->Get External Data ->From Other sources -> From Data Connection Wizard -> Other/Advanced-> SPSS MR DM-2 OLE DB Provider-> Metadata type as SPSS File(SAV)-> SPSS data file in Metadata Location->Finish
In order to download that driver you must have a license to SPSS. For those who do not, there is an open source tool that is very much like SPSS and will allow you to import SAV files and export them to CSV.
Here's the software
And here are the steps to export the data.
I converted sav to csv online: http://pspp.benpfaff.org/
(Not exactly an answer for you, since do you want avoid opening the files, but maybe this helps others).
I have been using the open source GNU PSPP package to convert the sav tile to csv. You can download the Windows version at least from SourceForge [1]. Once you have the software, you can convert sav file to csv with following command line:
[1] http://sourceforge.net/projects/pspp4windows/files/?source=navbar
I also just made a webapp to do this where you can just upload the file: https://rkbarney.shinyapps.io/thisnotthatstat/ upload your .sav and choose .csv and then open in Excel
You could also use the Haven Package in R to transfer to .csv and then open the .csv file in Excel.