LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2006, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 22 Sep 2006 11:17:27 -0400
Reply-To:     "Gerstle, John (CDC/CCID/NCHSTP) (CTR)" <yzg9@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Gerstle, John (CDC/CCID/NCHSTP) (CTR)" <yzg9@CDC.GOV>
Subject:      Re: Order variables when exporting to Excel
Comments: To: Kevin Bladon <kevin.bladon@SILVACOM.COM>
Content-Type: text/plain; charset="US-ASCII"

Kevin, What are you using (PROC-wise) to send you data to Excel? Generally, select the variables explicitly in a PROC PRINT, REPORT, TABULATE, etc.. and use ODS HTML, Tagsets, etc. to send to Excel.

I.e.: Ods html file='someplace.somefile.xls' style=minimal; Proc print; var v1 v2 f3 f4; Run; Ods html close;

John Gerstle, MS Biostatistician Northrop Grumman CDC Information Technological Support Contract (CITS) NCHSTP \DHAP \HICSB \Research, Analysis, and Evaluation Section Centers for Disease Control and Prevention

"Boss. We've got cats." "Meow"

"All truth passes through three stages: First, it is ridiculed; Second, it is violently opposed; Third, it is accepted as being self-evident." - Arthur Schopenhauer (1830)

>>-----Original Message----- >>From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu] >>On Behalf Of Kevin Bladon >>Sent: Friday, September 22, 2006 11:02 AM >>To: SAS-L@LISTSERV.UGA.EDU >>Subject: Order variables when exporting to Excel >> >>Hello all, >> >>Does anyone know how to select the order that my variables (columns) will >>appear in Excel when exporting from SAS? >> >>Thanks, >>Kevin Bladon


Back to: Top of message | Previous page | Main SAS-L page