BookmarkSubscribeRSS Feed
Jaheuk
Obsidian | Level 7

hi guys,

untill jan 2014 I  always worked on XP, sas9.2 and  office2003.

I have a sas pgm working on an excel that:

* the first time it creates a named range with DATA step

* from second time on it PROC APPENDs data to this namend range

The PIVOT in this workbook keeps on working because the NEW data appended with the proc append did EXTEND the named range.

So a (automatic) refresh of the pivot was just fine.

But since we have SAS9.3 and Office 2010 on a WIN7 machine for excel things  we have to use: LIBNAME XLS PCFILES path="\....

and now the PROC APPEND works fine(data is added in the sheet), but the named range is NOT extended.

So I have to re-define it manual so I can refresh the pivot.

Anyone an idea or workaround ????

GreetZ,

Herman

1 REPLY 1
LinusH
Tourmaline | Level 20

Don't know how to solve your problem, but can ask what the named range are used for?

Seems a bit old school populating files in target applications format. If you wish to use Excel as a more or less advanced application, SAS Addin for MS Office is perhaps a better choice.

Data never sleeps

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

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