Hi Of course! Shows you how much I know! The following error message occured after putting the semicolon: NOTE: Copyright (c) 2002-2008 by SAS Institute Inc., Cary, NC, USA. NOTE: SAS (r) Proprietary Software 9.2 (TS2M2) Licensed to UNIVERSITY OF RHODE ISLAND (T&R), Site 70008099. NOTE: This session is executing on the W32_VSPRO platform. NOTE: SAS initialization used: real time 0.96 seconds cpu time 0.76 seconds 1 PROC EXPORT DATA=work.pps90 2 3 (firstobs=1600 obs=1900) 4 5 OUTFILE= "C:\WANT.XLS" 6 7 DBMS=EXCEL REPLACE; 8 9 SHEET="Rows1600_thru_1900"; 10 11 RUN 12 PROC EXPORT DATA=work.pps90 13 14 (firstobs=1600 obs=1900) 15 16 OUTFILE= "C:\WANT.XLS" 17 18 DBMS=EXCEL REPLACE; ERROR: Unrecognized form of the RUN statement. Use either RUN; or RUN CANCEL;. NOTE: The previous statement has been deleted. 19 20 SHEET="Rows1600_thru_1900"; 21 22 RUN; ERROR: Connect: The Microsoft Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write its data. ERROR: Error in the LIBNAME statement. Connection Failed. See log for details. NOTE: The SAS System stopped processing this step because of errors. NOTE: PROCEDURE EXPORT used (Total process time): real time 1:05:54.15 cpu time 2.54 seconds I have to pack it in for today. Will try again tomorrow. Thanks Al
... View more