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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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