Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAS to VBA module

Status
Not open for further replies.

ping99

Technical User
Mar 16, 2006
45
CA
Hi all,

I have the codes in SAS below in the module or function called Macro_test.sas

'-----------------------------------------------------------
'Parameter: Basetest=test , Scoring=test10 , month=9

%macro Macro_test(Basetest= ,Scoring= , MONTH= );

libname mydata &Basetest;
libname mydata2 &Scoring;

proc sql;

create table New&MONTH as
select distinct scoringNo
from mydata2.scoringall_&MONTH;
quit;

run;
'----------------------------------------------------

Can somebody helps to translate above SAS codes in VBA code to get a similar result ?

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top