Import multiple Excel files(xlsx)

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 13
Accepted Solution

Import multiple Excel files(xlsx)

[ Edited ]

I am trying to import .xlsx file with 1700 columns using data step, but it is taking in only 255 variables.I tried using Proc import but it isn't taking it either.Any ideas how do i get all the 1700 columns into SAS


Accepted Solutions
Solution
‎04-18-2018 01:58 AM
Super User
Posts: 23,683

Re: Import multiple Excel files(xlsx)

Posted in reply to sas_learnsups

PROC IMPORT with DBMS=XLSX will import 2000+ columns, did it earlier today. 

 


@sas_learnsups wrote:

I am trying to import .xlsx file with 1700 columns using data step, but it is taking in only 255 variables.I tried using Proc import but it isn't taking it either.Any ideas how do i get all the 1700 columns into SAS


 

View solution in original post


All Replies
Solution
‎04-18-2018 01:58 AM
Super User
Posts: 23,683

Re: Import multiple Excel files(xlsx)

Posted in reply to sas_learnsups

PROC IMPORT with DBMS=XLSX will import 2000+ columns, did it earlier today. 

 


@sas_learnsups wrote:

I am trying to import .xlsx file with 1700 columns using data step, but it is taking in only 255 variables.I tried using Proc import but it isn't taking it either.Any ideas how do i get all the 1700 columns into SAS


 

Occasional Contributor
Posts: 13

Re: Import multiple Excel files(xlsx)

Many Thanks Reeza, I did use the proc import and it worked.

 

 

Moderator
Posts: 325

Re: Import multiple Excel files(xlsx)

Posted in reply to sas_learnsups

What's your version of SAS (PROC SETINIT) and same for MS-Office?

Occasional Contributor
Posts: 13

Re: Import multiple Excel files(xlsx)

Posted in reply to AndrewHowell
Sorry friend. got busy doing other set of codes and will check for myself in some time. Many Thanks.
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 206 views
  • 0 likes
  • 3 in conversation