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

Hi:
Different engines required different reference methods for worksheets. The named literal method that you originally tried is NOT needed with the XLSX engine, but was used with other engines. Once you issue your LIBNAME statement, like this:
libname carinfo xlsx '/folders/myfolders/auto.xlsx';

You can always find out the correct sheet names to use by doing this:
proc contents data=carinfo._all_ nods;
title 'What are sheet names';
run;
title;

Use the name form that you see in the list of tables in the PROC CONTENTS output. My guess is that if you run PROC CONTENTS on your workbook, you will see AUTO listed as a table without the " 'n" named literal form.

Cynthia

jkl123
Obsidian | Level 7
Hello, Cynthia,

Yes, you are correct. I tried and the spreadsheet name just showed up.
Thanks a million.

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!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 16 replies
  • 2452 views
  • 7 likes
  • 5 in conversation