BookmarkSubscribeRSS Feed
cjohnson
Obsidian | Level 7
My company recently installed SAS 9.2 with EG 4.3 (64 bit), and I have having trouble with Excel 2007 files. I need to be able to use a Libname statement to create Excel 2007 files, but I can only get it to work with Excel 2003. Here is the statement I am using.

LIBNAME EXCEL PCFILES PATH="&DATA.TEST.XLSX";

If I use .xls, it generates a 2003 file correctly. If I use .xlsx, it generates a 2003 file with the .xlsx extension, which of course, Excel won't open.

Can anyone tell me how to create a 2007 file? From EG4.3, you can't even export to Excel 2007. Is there a patch for this?

I would appreciate any help you can provide.

Chris
Christopher Johnson
www.codeitmagazine.com
1 REPLY 1
Technolero
Pyrite | Level 9
You can use the new custom task "Export Data to Microsoft Excel 2007/2010". Details are at http://blogs.sas.com/sasdummy/index.php?/archives/205-Export-to-Excel-20072010-using-SAS-Enterprise-....

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1 reply
  • 1039 views
  • 0 likes
  • 2 in conversation