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!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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