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!

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1597 views
  • 0 likes
  • 4 in conversation