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!

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
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
  • 7171 views
  • 0 likes
  • 4 in conversation