由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - How to write a simple macro to read multiple spreadsheets from one excel file?
相关主题
請教許多data 快速import and transpose的方法再问一个sas输出的问题 (export)
SAS macro to import multiple csv file??question about longitudinal data
SAS ADV passed!!!Help:import excel file into sas
SAS中如何只保留变量名中含有reading的变量啊what is the problem?
如何用SAS Macro来计算这个公式?update (some interview experiences)--急,面试求助:用ACCESS
SAS Technical Interview QuestionsDo you share your sas Macros or R code with co-workers?
包子问,SAS里data long to wide formatreading data into sas 问题
工作机会,请站内联系笨人sas/excel 问题
相关话题的讨论汇总
话题: simple话题: excel话题: read话题: macro
进入Statistics版参与讨论
1 (共1页)
i******r
发帖数: 323
1
Hi I have about 15 tabs in the same excel file, I need to read them in one
by one. I can write a simple macro that read them in one at a time, but I
need to call it for 15 times and type in the tab name. Is there any simple
way?
Also i the excel spreadsheet, if the first row is not the column name, but
second or third row is the column names, so I used getnames=No, then how can
I retain the column names?
I used transpose twice to get the variable names, I think there should be
some easier way.
T
p********a
发帖数: 5352
2
1. No simple way unless you use VBA to read the tab names internally
2. use range="A2:C256" and set the row numbers to macro variables
1 (共1页)
进入Statistics版参与讨论
相关主题
笨人sas/excel 问题如何用SAS Macro来计算这个公式?
[合集] excel dataSAS Technical Interview Questions
再看SAS in stock market 这本书 有啥数据库可以拿来联系的吗包子问,SAS里data long to wide format
没完没了的LAYOFF!工作机会,请站内联系
請教許多data 快速import and transpose的方法再问一个sas输出的问题 (export)
SAS macro to import multiple csv file??question about longitudinal data
SAS ADV passed!!!Help:import excel file into sas
SAS中如何只保留变量名中含有reading的变量啊what is the problem?
相关话题的讨论汇总
话题: simple话题: excel话题: read话题: macro