BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Reeza
Super User

It works for me with the XLSX engine, I'm on SAS 9.4 M3

 

delete_excel_libname.JPG

art297
Opal | Level 21

I'm not sure about the vtable view, but you could create the macro variables using proc sql accessing dictionary.tables (e.g.:

 

libname xlfiles xlsx "/folders/myfolders/test.xlsx";
proc sql;
select *
from dictionary.tables
where libname eq 'XLFILES';
;
quit;

 

The result of the above is shown in the attached jpg

 

Art, CEO, AnalystFinder.com

 


Capture.JPG
art297
Opal | Level 21

What are you trying to do with your prxchange calls? You dont include any prxparse calls that define either re or re2.

 

Art, CEO, AnalystFinder.com

 

fbl204653
Obsidian | Level 7

Hi art, I removed the prxparse part because I think it's not revelant. Thanks for your suggestion! I will try dictionary table in sql..

 

Thanks!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 18 replies
  • 1960 views
  • 0 likes
  • 4 in conversation