Building a Marketing Dashboard using Excel and SAS. Tim Walters InfoTech Marketing

Size: px
Start display at page:

Download "Building a Marketing Dashboard using Excel and SAS. Tim Walters InfoTech Marketing"

Transcription

1 Building a Marketing Dashboard using Excel and SAS Tim Walters InfoTech Marketing 1

2 Desired Outcome Dashboard Sheet and 6 Results Sheets 2

3 Client Environmental Considerations Client company has software to facilitate transfer of images between mobile phones and the Internet Environmental Factor Needed results in workbook for distribution among key executives Needed flexibility in certain reporting parameters Adding capable handsets and sites over time Unknown technical skills of people running system Expected large influx of customers May not have SAS PC Files module Resulting Decision Workbook must include all data. No external references allowed User selects parameters Stop system when new information encountered Make interface simple and from familiar source (Excel) Use SAS for processing Write output files using ODS 3

4 System Overview User Opens Excel Workbook User Completes Workbook Form User Runs Launches SAS & Excel Monitors User Distributes Results Workbook Populated SAS Processing 4

5 1. User Opens Excel Workbook Folder Location of SAS 5

6 2. User Completes Workbook Form 6

7 3. User Runs Launches SAS Private Sub Run_Click() access_type = &H400 still_active = &H103 'this will be used to delete files and check for existence Set fsofile = CreateObject("scripting.filesystemobject") a = ThisWorkbook.path On Error Resume Next fsofile.deletefile (a & "\phone_errors.xls") 'Deletes existing file fsofile.deletefile (a & "\site_errors.xls") 'Deletes existing file sas_location = Workbooks("company Reports.xls").Worksheets("Sheet1").Range("B1").Value sas_program = a & "\ReadWeeklyFiles.sas" datec = "'" & Application.WorksheetFunction.Text(Calendar1, "ddmmmyy") & "'" & "d" runparm = a & "\$" & datec & "$" & WeeklyFile & "$" & Weeks & "$" & CountryCutoff & "$" & HeavyUsers & _ "$" & PreviouslyActive & "$" & AccountsUsingBackup & "$" & UploadActivity & "$" & SitesConfigured _ & "$" & UploadSites & "$" & NumDaysUploads & "$" & NumDaysActiveUploads & "$" & _ OTA_Downloads completeline = sas_location & " -sysin " & sas_program & " -log " & a & " -noprint -sysparm " & runparm 'uses shell execute taskid = Shell(completeline, 1) hproc = OpenProcess(access_type, False, taskid) 7

8 3. User Runs Excel Monitors Do 'loop continuously 'check on the process GetExitCodeProcess hproc, lexitcode 'allow event processing DoEvents Loop While lexitcode = still_active currpath = ActiveWorkbook.path If fsofile.fileexists(currpath & "\phone_errors.xls") Then MsgBox ("New phones exists. Please update handsets.csv and re-submit") Workbooks.Open (currpath & "\phone_errors.xls") Workbooks.Open (currpath & "\handsets.csv") stopper = "Yes" End If If fsofile.fileexists(currpath & "\site_errors.xls") Then MsgBox ("New sites exists. Please update parameters.csv and re-submit") Workbooks.Open (currpath & "\site_errors.xls") Workbooks.Open (currpath & "\parameters.csv") stopper = "Yes" End If If stopper <> "Yes" Then Workbooks.Open (currpath & "\Weekly Dashboard.xls") Me.Hide Unload Me End Sub 8

9 4. SAS Processing ReadWeeklyFiles.sas Read 14 Parameters Passed %macro createmacvars; %global week_date folder filedate ; %let folder=%scan(%quote(&sysparm),1,$); %let week_date=%scan(%quote(&sysparm),2,$); %let filedate=%scan(%quote(&sysparm),3,$); %let weeks=%scan(%quote(&sysparm),4,$); %let country_cutoff=%scan(%quote(&sysparm),5,$); %let heavy_users=%scan(%quote(&sysparm),6,$); %let previous_active=%scan(%quote(&sysparm),7,$); %let accounts_using_backup=%scan(%quote(&sysparm),8,$); %let upload_activity=%scan(%quote(&sysparm),9,$); %let sites_configured=%scan(%quote(&sysparm),10,$); %let upload_sites=%scan(%quote(&sysparm),11,$); %let num_days_uploads=%scan(%quote(&sysparm),12,$); %let num_days_active_uploads=%scan(%quote(&sysparm),13,$); %let ota_downloads=%scan(%quote(&sysparm),14,$); %mend; %createmacvars; 9

10 4. SAS Processing ReadWeeklyFiles.sas Program Aspects All files must be in the same folder. Folder name used for input/output files Input %let userfile=&folder&filedate Users & Accounts.csv; %let parafile=&folder.parameters.csv; %let handfile=&folder.handsets.csv; Output %let out_errors=&&folder.phone_errors.xls; %let out_weekly=&&folder.weekly.xls; 10

11 4. SAS Processing ReadWeeklyFiles.sas Stop Program for New Data %macro stopp; %if &obs_errors > 0 %then %do; ods html file="&&out_errors" style = printer headtext="<style> TD {MSO-NUMBER- FORMAT:\#\#\,\#\#\#\,\#\#0;}</STYLE>"; title; proc print data=phone_errors(keep=phone_text_1_20) &printstyle; run; ods html close; %abort; %end; %if &site_o_errors > 0 %then %do; ods html file="&&out_site_errors" style = printer headtext="<style> TD {MSO-NUMBER- FORMAT:\#\#\,\#\#\#\,\#\#0;}</STYLE>"; title; proc print data=site_errors(keep=site_code) &printstyle; run; ods html close; %abort; %end; %mend; /* this macros gets the number of observations and number of columns for certain datasets */ %macro obsnvars(ds); %global dset vars_phones vars_sites obs_errors sites_obs site_o_errors; %let dset=&ds; %let dsid = %sysfunc(open(&dset)); %if &dsid %then %do; %if &ds=phone_errors %then %let obs_errors=%sysfunc(attrn(&dsid,n obs)); %if &ds=site_errors %then %let site_o_errors=%sysfunc(attrn(&dsi d,nobs)); %let rc = %sysfunc(close(&dsid)); %end; %else %put Open for data set &dset failed - %sysfunc(sysmsg()); %mend obsnvars; /* data file of new types not in table */ data phone_errors; set company.userphone; if phone_type=" "; run; %obsnvars(phone_errors); data site_errors; set company.usersite; if site_type=" "; run; %obsnvars(site_errors); /* invoke stopp macro -- if phone or site errors, stops awaiting user correction */ %stopp; 11

12 4. SAS Processing ReadWeeklyFiles.sas Output Files Using ODS Main File ods html file="&&out_weekly" style = printer headtext="<style> TD title; {MSO-NUMBER- FORMAT:\#\#\,\#\#\#\,\#\#0;}</ STYLE>"; proc print data=weekly_report_out(wher e=(week_activated ne -10)) &printstyle; run; var _numeric_ ; ods html close; Parameters File Fed Back to Excel data uploads_28_final; run; weeks=symget('weeks'); heavy_users=symget('heavy_users'); previous_active=symget('previous_active'); country_cutoff=symget('country_cutoff'); ods html file="&&out_within_28" style = printer headtext="<style> TD title; {MSO-NUMBER- FORMAT:\#\#\,\#\#\#\,\#\#0;}</STYLE>"; proc print data=uploads_28_final &printstyle; run; ods html close; 12

13 5. Results Workbook Populated Weekly Dashboard.xls VBA Code in Microsoft Excel Objects This Workbook 13

14 5. Results Workbook Populated Weekly Dashboard.xls Sub Chart_Update() Application.ScreenUpdating = False Application.DisplayAlerts = False Application.EnableEvents = False a = ThisWorkbook.Path pp = "Weekly Dashboard.xls" With Workbooks(pp) ' Clear existing worksheets.worksheets("within28").cells.clearcontents.worksheets("weekly").cells.clearcontents.worksheets("countries active").cells.clearcontents End With ' start by processing within 28 file Workbooks.Open (a & "\within28.xls") Workbooks("within28.xls").Worksheets("within28").Cells.Select selects all cells from workbook Selection.Copy copy Workbooks(pp).Worksheets("within28").Activate activate worksheet you want Range("A1").Select ActiveSheet.Paste 14

15 5. Results Workbook Populated Weekly Dashboard.xls More Chart_Update Macro Statements Application.ScreenUpdating = True Application.DisplayAlerts = True Application.EnableEvents = True End Sub 15

16 6. User Distributes Checks Data, Manually Saves, and Manually s 16

17 Advantages/Disadvantages of Excel-SAS-Excel System Advantages Use Excel charts/formatting Utilize powerful SAS processing User can run from familiar interface Ubiquity of Excel Limit SAS licensing Disadvantages Must know some VBA and its peculiarities May hit Excel row/column limits 64,000 in Excel 2003, 1 million in Excel

18 For More Information Tim Walters InfoTech Marketing

A Microsoft Access Based System, Using SAS as a Background Number Cruncher David Kiasi, Applications Alternatives, Upper Marlboro, MD

A Microsoft Access Based System, Using SAS as a Background Number Cruncher David Kiasi, Applications Alternatives, Upper Marlboro, MD AD006 A Microsoft Access Based System, Using SAS as a Background Number Cruncher David Kiasi, Applications Alternatives, Upper Marlboro, MD ABSTRACT In Access based systems, using Visual Basic for Applications

More information

SPV Reporting Tool VBA Code User Guide. Last Updated: December, 2009

SPV Reporting Tool VBA Code User Guide. Last Updated: December, 2009 SPV Reporting Tool VBA Code User Guide Last Updated: December, 2009 SPV Reporting Tool Excel VBA Functionalities Golden Copy Golden Copy - Introduction This portion of the User Guide will go through troubleshooting

More information

A Comparison of SAS versus Microsoft Excel and Access s Inbuilt VBA Functionality Jozef Tarrant, Amadeus Software Ltd., Oxford, UK

A Comparison of SAS versus Microsoft Excel and Access s Inbuilt VBA Functionality Jozef Tarrant, Amadeus Software Ltd., Oxford, UK ABSTRACT There are a great variety of business situations where it is necessary to automatically export data from a large number of similar Microsoft Excel spreadsheets (perhaps reports, forms etc.) into

More information

AN ANIMATED GUIDE: SENDING SAS FILE TO EXCEL

AN ANIMATED GUIDE: SENDING SAS FILE TO EXCEL Paper CC01 AN ANIMATED GUIDE: SENDING SAS FILE TO EXCEL Russ Lavery, Contractor for K&L Consulting Services, King of Prussia, U.S.A. ABSTRACT The primary purpose of this paper is to provide a generic DDE

More information

Create an Excel report using SAS : A comparison of the different techniques

Create an Excel report using SAS : A comparison of the different techniques Create an Excel report using SAS : A comparison of the different techniques Romain Miralles, Clinovo, Sunnyvale, CA Global SAS Forum 2011 April 2011 1 1. ABSTRACT Many techniques exist to create an Excel

More information

Choosing the Best Method to Create an Excel Report Romain Miralles, Clinovo, Sunnyvale, CA

Choosing the Best Method to Create an Excel Report Romain Miralles, Clinovo, Sunnyvale, CA Choosing the Best Method to Create an Excel Report Romain Miralles, Clinovo, Sunnyvale, CA ABSTRACT PROC EXPORT, LIBNAME, DDE or excelxp tagset? Many techniques exist to create an excel file using SAS.

More information

How to write and track Additional Requests using Excel/Word

How to write and track Additional Requests using Excel/Word Paper MT01 How to write and track Additional Requests using Excel/Word Xavier Passera, Detour Solutions Ltd., Welwyn Garden City, Great Britain ABSTRACT Over the life of a project, numerous output and

More information

THE HELLO WORLD PROJECT

THE HELLO WORLD PROJECT Paper RIV-08 Yes! SAS ExcelXP WILL NOT Create a Microsoft Excel Graph; But SAS Users Can Command Microsoft Excel to Automatically Create Graphs From SAS ExcelXP Output William E Benjamin Jr, Owl Computer

More information

Programming in Access VBA

Programming in Access VBA PART I Programming in Access VBA In this part, you will learn all about how Visual Basic for Applications (VBA) works for Access 2010. A number of new VBA features have been incorporated into the 2010

More information

Writing Macros in Microsoft Excel 2003

Writing Macros in Microsoft Excel 2003 Writing Macros in Microsoft Excel 2003 Introduction A macro is a series of instructions which can be issued using a single command. The macro can be invoked in various different ways - from the keyboard

More information

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix Jennifer Clegg, SAS Institute Inc., Cary, NC Eric Hill, SAS Institute Inc., Cary, NC ABSTRACT Release 2.1 of SAS

More information

Abstract. Introduction. System Requirement. GUI Design. Paper AD17-2011

Abstract. Introduction. System Requirement. GUI Design. Paper AD17-2011 Paper AD17-2011 Application for Survival Analysis through Microsoft Access GUI Zhong Yan, i3, Indianapolis, IN Jie Li, i3, Austin, Texas Jiazheng (Steven) He, i3, San Francisco, California Abstract This

More information

Managing very large EXCEL files using the XLS engine John H. Adams, Boehringer Ingelheim Pharmaceutical, Inc., Ridgefield, CT

Managing very large EXCEL files using the XLS engine John H. Adams, Boehringer Ingelheim Pharmaceutical, Inc., Ridgefield, CT Paper AD01 Managing very large EXCEL files using the XLS engine John H. Adams, Boehringer Ingelheim Pharmaceutical, Inc., Ridgefield, CT ABSTRACT The use of EXCEL spreadsheets is very common in SAS applications,

More information

A Method for Cleaning Clinical Trial Analysis Data Sets

A Method for Cleaning Clinical Trial Analysis Data Sets A Method for Cleaning Clinical Trial Analysis Data Sets Carol R. Vaughn, Bridgewater Crossings, NJ ABSTRACT This paper presents a method for using SAS software to search SAS programs in selected directories

More information

ENHANCING SAS OUTPUT WITH OUTPUT DELIVERY SYSTEM (ODS)

ENHANCING SAS OUTPUT WITH OUTPUT DELIVERY SYSTEM (ODS) 1 ENHANCING SAS OUTPUT WITH OUTPUT DELIVERY SYSTEM (ODS) Hemal Mehta, MS PhD student, College of Pharmacy, University of Houston 2 OUTLINE ODS Conceptually SAS 9.3 ODS Different types of output Listing,

More information

The following tips have been copied from the following website: http://www.angelfire.com/biz7/julian_s/julian/julians_macros.htm

The following tips have been copied from the following website: http://www.angelfire.com/biz7/julian_s/julian/julians_macros.htm Julian s Macro Tips The following tips have been copied from the following website: http://www.angelfire.com/biz7/julian_s/julian/julians_macros.htm An additional extensive resource is provided by JoJo

More information

Creating Dynamic Reports Using Data Exchange to Excel

Creating Dynamic Reports Using Data Exchange to Excel Creating Dynamic Reports Using Data Exchange to Excel Liping Huang Visiting Nurse Service of New York ABSTRACT The ability to generate flexible reports in Excel is in great demand. This paper illustrates

More information

An Approach to Creating Archives That Minimizes Storage Requirements

An Approach to Creating Archives That Minimizes Storage Requirements Paper SC-008 An Approach to Creating Archives That Minimizes Storage Requirements Ruben Chiflikyan, RTI International, Research Triangle Park, NC Mila Chiflikyan, RTI International, Research Triangle Park,

More information

Adventures in Building Web Applications: A Tutorial on Techniques for Real-World Applications

Adventures in Building Web Applications: A Tutorial on Techniques for Real-World Applications Adventures in Building Web Applications: A Tutorial on Techniques for Real-World Applications Jason Gordon, GE Capital Card Services, Stamford Connecticut Michael Davis, Bassett Consulting Services, North

More information

Integrating SAS and Excel: an Overview and Comparison of Three Methods for Using SAS to Create and Access Data in Excel

Integrating SAS and Excel: an Overview and Comparison of Three Methods for Using SAS to Create and Access Data in Excel Integrating SAS and Excel: an Overview and Comparison of Three Methods for Using SAS to Create and Access Data in Excel Nathan Clausen, U.S. Bureau of Labor Statistics, Washington, DC Edmond Cheng, U.S.

More information

Data Presentation. Paper 126-27. Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs

Data Presentation. Paper 126-27. Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs Paper 126-27 Using SAS Macros to Create Automated Excel Reports Containing Tables, Charts and Graphs Tugluke Abdurazak Abt Associates Inc. 1110 Vermont Avenue N.W. Suite 610 Washington D.C. 20005-3522

More information

1. a procedure that you perform frequently. 2. Create a command. 3. Create a new. 4. Create custom for Excel.

1. a procedure that you perform frequently. 2. Create a command. 3. Create a new. 4. Create custom for Excel. Topics 1 Visual Basic Application Macro Language What You Can Do with VBA macro Types of VBA macro Recording VBA macros Example: MyName () If-Then statement Example: CheckCell () For-Next Loops Example:

More information

Excel & Visual Basic for Applications (VBA)

Excel & Visual Basic for Applications (VBA) Excel & Visual Basic for Applications (VBA) The VBA Programming Environment Recording Macros Working with the Visual Basic Editor (VBE) 1 Why get involved with this programming business? If you can't program,

More information

WEBFOCUS QUICK DATA FOR EXCEL

WEBFOCUS QUICK DATA FOR EXCEL WEBFOCUS QUICK DATA FOR EXCEL BRIAN CARTER INFORMATION BUILDERS SUMMIT 2008 USERS CONFERENCE JUNE 2008 Presentation Abstract: Even with the growing popularity and evolvement of Business Intelligence products

More information

Developing an On-Demand Web Report Platform Using Stored Processes and SAS Web Application Server

Developing an On-Demand Web Report Platform Using Stored Processes and SAS Web Application Server Paper 10740-2016 Developing an On-Demand Web Report Platform Using Stored Processes and SAS Web Application Server ABSTRACT Romain Miralles, Genomic Health. As SAS programmers, we often develop listings,

More information

Bag it, Tag it & Put it: Project tracking one click away!

Bag it, Tag it & Put it: Project tracking one click away! Bag it, Tag it & Put it: Project tracking one click away! Abhishek Bakshi Cytel, Pune The views expressed in this presentation are my own and do not necessarily represent the views of Cytel Statistical

More information

CREATING FINANCIAL STATEMENTS

CREATING FINANCIAL STATEMENTS CREATING FINANCIAL STATEMENTS Revised September 2, 2009 BEFORE YOU BEGIN: All of the below financial statement reports should be done AFTER FPM, EDB, etc. have been updated and transfers (i.e. UPAYs, TOFs,

More information

Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1

Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1 Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the SAI reports... 3 Running, Copying and Pasting reports... 4 Creating and linking a report... 5 Auto e-mailing reports...

More information

IENG2004 Industrial Database and Systems Design. Microsoft Access I. What is Microsoft Access? Architecture of Microsoft Access

IENG2004 Industrial Database and Systems Design. Microsoft Access I. What is Microsoft Access? Architecture of Microsoft Access IENG2004 Industrial Database and Systems Design Microsoft Access I Defining databases (Chapters 1 and 2) Alison Balter Mastering Microsoft Access 2000 Development SAMS, 1999 What is Microsoft Access? Microsoft

More information

SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC

SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC Paper CS-053 SAS Add in to MS Office A Tutorial Angela Hall, Zencos Consulting, Cary, NC ABSTRACT Business folks use Excel and have no desire to learn SAS Enterprise Guide? MS PowerPoint presentations

More information

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...

More information

Training Needs Analysis

Training Needs Analysis Training Needs Analysis Microsoft Office 2007 Access 2007 Course Code: Name: Chapter 1: Access 2007 Orientation I understand how Access works and what it can be used for I know how to start Microsoft Access

More information

Microsoft Word 2013: Mail Merge

Microsoft Word 2013: Mail Merge Microsoft Word 2013: Mail Merge Mail merge is a tool which allows you to create form letters, mailing labels and envelopes by linking a main document to a data source. It is the process of combining a

More information

PharmaSUG2011 - Paper AD11

PharmaSUG2011 - Paper AD11 PharmaSUG2011 - Paper AD11 Let the system do the work! Automate your SAS code execution on UNIX and Windows platforms Niraj J. Pandya, Element Technologies Inc., NJ Vinodh Paida, Impressive Systems Inc.,

More information

SAS ODS HTML + PROC Report = Fantastic Output Girish K. Narayandas, OptumInsight, Eden Prairie, MN

SAS ODS HTML + PROC Report = Fantastic Output Girish K. Narayandas, OptumInsight, Eden Prairie, MN SA118-2014 SAS ODS HTML + PROC Report = Fantastic Output Girish K. Narayandas, OptumInsight, Eden Prairie, MN ABSTRACT ODS (Output Delivery System) is a wonderful feature in SAS to create consistent, presentable

More information

You have got SASMAIL!

You have got SASMAIL! You have got SASMAIL! Rajbir Chadha, Cognizant Technology Solutions, Wilmington, DE ABSTRACT As SAS software programs become complex, processing times increase. Sitting in front of the computer, waiting

More information

Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX

Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX Paper 126-29 Using Macros to Automate SAS Processing Kari Richardson, SAS Institute, Cary, NC Eric Rossland, SAS Institute, Dallas, TX ABSTRACT This hands-on workshop shows how to use the SAS Macro Facility

More information

Introduction. Syntax Statements. Colon : Line Continuation _ Conditions. If Then Else End If 1. block form syntax 2. One-Line syntax. Do...

Introduction. Syntax Statements. Colon : Line Continuation _ Conditions. If Then Else End If 1. block form syntax 2. One-Line syntax. Do... 3 Syntax Introduction Syntax Statements Colon : Line Continuation _ Conditions If Then Else End If 1. block form syntax 2. One-Line syntax Select Case Case Case Else End Select Do...Loop For...Next While...Wend

More information

Introduction to Macros and Visual Basic in Excel

Introduction to Macros and Visual Basic in Excel Introduction to Macros and Visual Basic in Excel 3 S. Malpezzi, Real Estate 631 Draft, November 8, 2007. Subject to Revision. 1998, 2001, 2007 Stephen Malpezzi Recording box is checked. Also notice that

More information

Web Reporting by Combining the Best of HTML and SAS

Web Reporting by Combining the Best of HTML and SAS Web Reporting by Combining the Best of HTML and SAS Jason Chen, Kaiser Permanente, San Diego, CA Kim Phan, Kaiser Permanente, San Diego, CA Yuexin Cindy Chen, Kaiser Permanente, San Diego, CA ABSTRACT

More information

Customized Excel Output Using the Excel Libname Harry Droogendyk, Stratia Consulting Inc., Lynden, ON

Customized Excel Output Using the Excel Libname Harry Droogendyk, Stratia Consulting Inc., Lynden, ON Paper SIB-105 Customized Excel Output Using the Excel Libname Harry Droogendyk, Stratia Consulting Inc., Lynden, ON ABSTRACT The advent of the ODS ExcelXP tagset and its many features has afforded the

More information

Assembling a Watershed Mailing List

Assembling a Watershed Mailing List Appendix 2 Assembling a Watershed Mailing List Locating Sources for Watershed Resident and Landowner Addresses Track down the addresses of the watershed residents and landowners using the following tools:

More information

USC Marshall School of Business Marshall Information Services

USC Marshall School of Business Marshall Information Services USC Marshall School of Business Marshall Information Services Excel Dashboards and Reports The goal of this workshop is to create a dynamic "dashboard" or "Report". A partial image of what we will be creating

More information

Changing the Display Frequency During Scanning Within an ImageControls 3 Application

Changing the Display Frequency During Scanning Within an ImageControls 3 Application Changing the Display Frequency During Scanning Within an ImageControls 3 Date November 2008 Applies To Kofax ImageControls 2x, 3x Summary This application note contains example code for changing he display

More information

A robust and flexible approach to automating SAS jobs under Unix Mike Atkinson, with the Ministry of Health Services, British Columbia

A robust and flexible approach to automating SAS jobs under Unix Mike Atkinson, with the Ministry of Health Services, British Columbia A robust and flexible approach to automating SAS jobs under Unix Mike Atkinson, with the Ministry of Health Services, British Columbia Abstract So you ve got a Unix server that is terrific for running

More information

How To Create An Audit Trail In Sas

How To Create An Audit Trail In Sas Audit Trails for SAS Data Sets Minh Duong Texas Institute for Measurement, Evaluation, and Statistics University of Houston, Houston, TX ABSTRACT SAS data sets are now more accessible than ever. They are

More information

Applications Development

Applications Development Paper 21-25 Using SAS Software and Visual Basic for Applications to Automate Tasks in Microsoft Word: An Alternative to Dynamic Data Exchange Mark Stetz, Amgen, Inc., Thousand Oaks, CA ABSTRACT Using Dynamic

More information

Big Data, Fast Processing Speeds Kevin McGowan SAS Solutions on Demand, Cary NC

Big Data, Fast Processing Speeds Kevin McGowan SAS Solutions on Demand, Cary NC Big Data, Fast Processing Speeds Kevin McGowan SAS Solutions on Demand, Cary NC ABSTRACT As data sets continue to grow, it is important for programs to be written very efficiently to make sure no time

More information

Automation of Large SAS Processes with Email and Text Message Notification Seva Kumar, JPMorgan Chase, Seattle, WA

Automation of Large SAS Processes with Email and Text Message Notification Seva Kumar, JPMorgan Chase, Seattle, WA Automation of Large SAS Processes with Email and Text Message Notification Seva Kumar, JPMorgan Chase, Seattle, WA ABSTRACT SAS includes powerful features in the Linux SAS server environment. While creating

More information

Methodologies for Converting Microsoft Excel Spreadsheets to SAS datasets

Methodologies for Converting Microsoft Excel Spreadsheets to SAS datasets Methodologies for Converting Microsoft Excel Spreadsheets to SAS datasets Karin LaPann ViroPharma Incorporated ABSTRACT Much functionality has been added to the SAS to Excel procedures in SAS version 9.

More information

SENDING EMAILS IN SAS TO FACILITATE CLINICAL TRIAL. Frank Fan, Clinovo, Sunnyvale CA

SENDING EMAILS IN SAS TO FACILITATE CLINICAL TRIAL. Frank Fan, Clinovo, Sunnyvale CA SENDING EMAILS IN SAS TO FACILITATE CLINICAL TRIAL Frank Fan, Clinovo, Sunnyvale CA WUSS 2011 Annual Conference October 2011 TABLE OF CONTENTS 1. ABSTRACT... 3 2. INTRODUCTION... 3 3. SYSTEM CONFIGURATION...

More information

A Concise Guide for Beginners LIEW VOON KIONG

A Concise Guide for Beginners LIEW VOON KIONG I A Concise Guide for Beginners LIEW VOON KIONG Disclaimer II Excel VBA Made Easy- A Concise Guide for Beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored,

More information

SAS Macros as File Management Utility Programs

SAS Macros as File Management Utility Programs Paper 219-26 SAS Macros as File Management Utility Programs Christopher J. Rook, EDP Contract Services, Bala Cynwyd, PA Shi-Tao Yeh, EDP Contract Services, Bala Cynwyd, PA ABSTRACT This paper provides

More information

Health Services Research Utilizing Electronic Health Record Data: A Grad Student How-To Paper

Health Services Research Utilizing Electronic Health Record Data: A Grad Student How-To Paper Paper 3485-2015 Health Services Research Utilizing Electronic Health Record Data: A Grad Student How-To Paper Ashley W. Collinsworth, ScD, MPH, Baylor Scott & White Health and Tulane University School

More information

Create Your Customized Case Report Form (CRF) Tracking System Tikiri Karunasundera, Medpace Inc., Cincinnati, Ohio

Create Your Customized Case Report Form (CRF) Tracking System Tikiri Karunasundera, Medpace Inc., Cincinnati, Ohio Paper AD15 Create Your Customized Case eport Form (CF) Tracking System Tikiri Karunasundera, Medpace Inc., Cincinnati, Ohio Abstract: A case report form (CF) tracking system helps ensure all required CFs

More information

Using Microsoft Excel for Data Presentation Peter Godard and Cyndi Williamson, SRI International, Menlo Park, CA

Using Microsoft Excel for Data Presentation Peter Godard and Cyndi Williamson, SRI International, Menlo Park, CA Using Microsoft Excel for Data Presentation Peter Godard and Cyndi Williamson, SRI International, Menlo Park, CA ABSTRACT A common problem: You want to use SAS to manipulate and summarize your data, but

More information

Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro.

Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro. Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro. Do you need to always add gridlines, bold the heading

More information

Improve your Clinical Data Management With Online Query Management System

Improve your Clinical Data Management With Online Query Management System Improve your With Whitepaper PharmaSUG conference May 23rd-May 26th 2010 in Orlando,Florida Romain Miralles, Clinovo, Sunnyvale, CA Ale Gicqueau, Clinovo, Sunnyvale, CA White paper, May 2010 Page 2 of

More information

Macros allow you to integrate existing Excel reports with a new information system

Macros allow you to integrate existing Excel reports with a new information system Macro Magic Macros allow you to integrate existing Excel reports with a new information system By Rick Collard Many water and wastewater professionals use Microsoft Excel extensively, producing reports

More information

Providing Password Protection to Excel Reports for Distribution in Emails

Providing Password Protection to Excel Reports for Distribution in Emails Providing Password Protection to Excel Reports for Distribution in Emails Applies to: BusinessObjects Enterprise XI 3.1 SP2. For more information, visit the Business Objects homepage. Summary This paper

More information

VBA Microsoft Access 2007 Macros to Import Formats and Labels to SAS

VBA Microsoft Access 2007 Macros to Import Formats and Labels to SAS WUSS 2011 VBA Microsoft Access 2007 Macros to Import Formats and Labels to SAS Maria S. Melguizo Castro, Jerry R Stalnaker, and Christopher J. Swearingen Biostatistics Program, Department of Pediatrics

More information

To create a histogram, you must organize the data in two columns on the worksheet. These columns must contain the following data:

To create a histogram, you must organize the data in two columns on the worksheet. These columns must contain the following data: You can analyze your data and display it in a histogram (a column chart that displays frequency data) by using the Histogram tool of the Analysis ToolPak. This data analysis add-in is available when you

More information

Online Reporting Tool

Online Reporting Tool Online Reporting Tool Guidance for school users in the creation and downloading of epayroll management reports Corporate Operations Version 2.0 July 2015 ONLINE REPORTS... 3 Introduction... 3 Online data

More information

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands.

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands. Quick Start Guide Microsoft Excel 2013 looks different from previous versions, so we created this guide to help you minimize the learning curve. Add commands to the Quick Access Toolbar Keep favorite commands

More information

LabVIEW Report Generation Toolkit for Microsoft Office

LabVIEW Report Generation Toolkit for Microsoft Office USER GUIDE LabVIEW Report Generation Toolkit for Microsoft Office Version 1.1.2 Contents The LabVIEW Report Generation Toolkit for Microsoft Office provides VIs and functions you can use to create and

More information

Multi-DNC. by Spectrum CNC Technologies

Multi-DNC. by Spectrum CNC Technologies Multi-DNC by Spectrum CNC Technologies Multi-DNC v8.1 for Windows 7/XP/2003 and 2008 Server communications and file management system for simultaneous uploads and downloads to multiple CNC controls using

More information

Excel & Visual Basic for Applications (VBA)

Excel & Visual Basic for Applications (VBA) Excel & Visual Basic for Applications (VBA) Object-oriented programming (OOP) Procedures: Subs and Functions, layout VBA: data types, variables, assignment 1 Traits of Engineers Florman s Engineering View

More information

Search and Replace in SAS Data Sets thru GUI

Search and Replace in SAS Data Sets thru GUI Search and Replace in SAS Data Sets thru GUI Edmond Cheng, Bureau of Labor Statistics, Washington, DC ABSTRACT In managing data with SAS /BASE software, performing a search and replace is not a straight

More information

Monthly Payroll to Finance Reconciliation Report: Access and Instructions

Monthly Payroll to Finance Reconciliation Report: Access and Instructions Monthly Payroll to Finance Reconciliation Report: Access and Instructions VCU Reporting Center... 2 Log in... 2 Open Folder... 3 Other Useful Information: Copying Sheets... 5 Creating Subtotals... 5 Outlining

More information

A Macro to Create Data Definition Documents

A Macro to Create Data Definition Documents A Macro to Create Data Definition Documents Aileen L. Yam, sanofi-aventis Inc., Bridgewater, NJ ABSTRACT Data Definition documents are one of the requirements for NDA submissions. This paper contains a

More information

Microsoft Excel 2007 Mini Skills Overview of Tables

Microsoft Excel 2007 Mini Skills Overview of Tables To make managing and analyzing a group of related data easier, you can turn a range of cells into a Microsoft Office Excel table (previously known as an Excel list). A table typically contains related

More information

Using DDE and SAS/Macro for Automated Excel Report Consolidation and Generation

Using DDE and SAS/Macro for Automated Excel Report Consolidation and Generation Using DDE and SAS/Macro for Automated Excel Report Consolidation and Generation Mengxi Li, Sandra Archer, Russell Denslow Sodexho Campus Services, Orlando, FL Abstract Each week, the Sodexho Campus Services

More information

Excel Reporting with 1010data

Excel Reporting with 1010data Excel Reporting with 1010data (212) 405.1010 info@1010data.com Follow: @1010data www.1010data.com Excel Reporting with 1010data Contents 2 Contents Overview... 3 Start with a 1010data query... 5 Running

More information

SAS and Electronic Mail: Send e-mail faster, and DEFINITELY more efficiently

SAS and Electronic Mail: Send e-mail faster, and DEFINITELY more efficiently Paper 78-26 SAS and Electronic Mail: Send e-mail faster, and DEFINITELY more efficiently Roy Fleischer, Sodexho Marriott Services, Gaithersburg, MD Abstract With every new software package I install, I

More information

Using GABRIEL Excel to XML Templates

Using GABRIEL Excel to XML Templates Using GABRIEL Excel to XML Templates Contents What are the templates for?...1 What do I need to use them?...2 How do I create XML data and load it into GABRIEL?...2 How can I enter data into the templates?...2

More information

Microsoft VBA Programming

Microsoft VBA Programming Microsoft VBA Programming Audience Description Objectives Length This course is intended for the person who has a strong familiarity with Microsoft,, and and who would like to begin learning how to automate

More information

ABSTRACT INTRODUCTION SAS AND EXCEL CAPABILITIES SAS AND EXCEL STRUCTURES

ABSTRACT INTRODUCTION SAS AND EXCEL CAPABILITIES SAS AND EXCEL STRUCTURES Paper 85-2010 Choosing the Right Tool from Your SAS and Microsoft Excel Tool Belt Steven First and Jennifer First, Systems Seminar Consultants, Madison, Wisconsin ABSTRACT There are over a dozen ways to

More information

Microsoft Office 2000 and Security Against Macro Viruses

Microsoft Office 2000 and Security Against Macro Viruses Microsoft Office 2000 and Security Against Macro Viruses A White Paper by Darren Chi Symantec AntiVirus Research Center Symantec Corporation Microsoft Office 2000 and Security Against Macro Viruses 1 Contents

More information

Reporting and Analysis Using Vivid Reports Flex

Reporting and Analysis Using Vivid Reports Flex Reporting and Analysis Using Vivid Reports Flex Presented By: Jim Lee Table of Contents Introduction... 3 Simplify... 3 Gain Insight... 3 Build Smarter... 3 Vivid Reports Flex... 4 Getting Started... 4

More information

SHA 6050 Solver and VBA Lab

SHA 6050 Solver and VBA Lab SHA 6050 Solver and VBA Lab In this lab you will be using macros to run Excel Solver. You will also use some basic tools in Visual Basic. Open 605_LP_Solver_Lab.xls. You will find a typical linear programming

More information

Streamlining Reports: A Look into Ad Hoc and Standardized Processes James Jenson, US Bancorp, Saint Paul, MN

Streamlining Reports: A Look into Ad Hoc and Standardized Processes James Jenson, US Bancorp, Saint Paul, MN Working Paper 138-2010 Streamlining Reports: A Look into Ad Hoc and Standardized Processes James Jenson, US Bancorp, Saint Paul, MN Abstract: This paper provides a conceptual framework for quantitative

More information

HowHow to Choose a Good Stock Broker For 2010

HowHow to Choose a Good Stock Broker For 2010 Paper 26-28 Using SAS Software to Analyze Web Logs Peter Parker, US Dept of Commerce, Washington, DC Peter_Parker@itadocgov Abstract SAS software macros provide the flexibility to perform advanced programming

More information

Using SAS Output Delivery System (ODS) Markup to Generate Custom PivotTable and PivotChart Reports Chevell Parker, SAS Institute

Using SAS Output Delivery System (ODS) Markup to Generate Custom PivotTable and PivotChart Reports Chevell Parker, SAS Institute Using SAS Output Delivery System (ODS) Markup to Generate Custom PivotTable and PivotChart Reports Chevell Parker, SAS Institute ABSTRACT This paper illustrates how to use ODS markup to create PivotTable

More information

Using Loops to Repeat Code

Using Loops to Repeat Code Using s to Repeat Code Why You Need s The macro recording tools in Microsoft Word and Microsoft Excel make easy work of creating simple coding tasks, but running a recorded macro is just that you do a

More information

LabVIEW Report Generation Toolkit for Microsoft Office User Guide

LabVIEW Report Generation Toolkit for Microsoft Office User Guide LabVIEW Report Generation Toolkit for Microsoft Office User Guide Version 1.1 Contents The LabVIEW Report Generation Toolkit for Microsoft Office provides tools you can use to create and edit reports in

More information

The Online Health Program Planner Part 1: Beginner's Guide

The Online Health Program Planner Part 1: Beginner's Guide The Online Health Program Planner Part 1: Beginner's Guide 1.1 Introduction This audio presentation is the first in a series of six parts that will provide an overview on how to use the Online Health Program

More information

A Comparison of SAS versus Microsoft Excel and Access s Inbuilt VBA Functionality

A Comparison of SAS versus Microsoft Excel and Access s Inbuilt VBA Functionality A Comparison of SAS versus Microsoft Excel and Access s Inbuilt VBA Functionality Jozef Tarrant, Amadeus Software Ltd. Copyright 2011 Amadeus Software Ltd. 1 Overview What is VBA? VBA Essentials: Modules

More information

Writing Data with Excel Libname Engine

Writing Data with Excel Libname Engine Writing Data with Excel Libname Engine Nurefsan (Neffy) Davulcu Advanced Analytics Intern, TransUnion Canada Golden Horseshoe SAS User Group (GHSUG) Burlington, Ontario, Canada MAY 27, 2016 ODS All Functionality

More information

Using Excel and VBA CHANDAN SENGUPTA SECOND EDITION. WILEY John Wiley & Sons, Inc.

Using Excel and VBA CHANDAN SENGUPTA SECOND EDITION. WILEY John Wiley & Sons, Inc. Using Excel and VBA SECOND EDITION CHANDAN SENGUPTA WILEY John Wiley & Sons, Inc. Contents About This Book CHAPTER 1 Introduction to Hnancial Analysis and Modeling 1 Steps in Creating a Model 5 How This

More information

Automated distribution of SAS results Jacques Pagé, Les Services Conseils HARDY, Quebec, Qc

Automated distribution of SAS results Jacques Pagé, Les Services Conseils HARDY, Quebec, Qc Paper 039-29 Automated distribution of SAS results Jacques Pagé, Les Services Conseils HARDY, Quebec, Qc ABSTRACT This paper highlights the programmable aspects of SAS results distribution using electronic

More information

Better Safe than Sorry: A SAS Macro to Selectively Back Up Files

Better Safe than Sorry: A SAS Macro to Selectively Back Up Files Better Safe than Sorry: A SAS Macro to Selectively Back Up Files Jia Wang, Data and Analytic Solutions, Inc., Fairfax, VA Zhengyi Fang, Social & Scientific Systems, Inc., Silver Spring, MD ABSTRACT SAS

More information

RIT Installation Instructions

RIT Installation Instructions RIT User Guide Build 1.00 RIT Installation Instructions Table of Contents Introduction... 2 Introduction to Excel VBA (Developer)... 3 API Commands for RIT... 11 RIT API Initialization... 12 Algorithmic

More information

Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC

Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC ABSTRACT PharmaSUG 2012 - Paper CC07 Importing Excel File using Microsoft Access in SAS Ajay Gupta, PPD Inc, Morrisville, NC In Pharmaceuticals/CRO industries, Excel files are widely use for data storage.

More information

Automating @RISK with VBA

Automating @RISK with VBA Automating @RISK with VBA The purpose of this document is to introduce the @RISK Excel Developer Kit (XDK) and explain how you can use VBA to automate @RISK. 1 The term automate simply means that you write

More information

Visual Basic: Objects and collections

Visual Basic: Objects and collections : Objects and collections is an (OO) object-oriented language. Performing a task in (VB) or for Applications (VBA) involves manipulating various types of objects, each of which may have several different

More information

Different Approaches to Maintaining Excel Reports

Different Approaches to Maintaining Excel Reports Different Approaches to Maintaining Excel Reports Presented by: Amanda Bin Feng ING Direct Canada Toronto Area SAS Society, December 11, 2009 Objective When we need to maintain routine reports, we would

More information

Using SAS to Control and Automate a Multi SAS Program Process. Patrick Halpin November 2008

Using SAS to Control and Automate a Multi SAS Program Process. Patrick Halpin November 2008 Using SAS to Control and Automate a Multi SAS Program Process Patrick Halpin November 2008 What are we covering today A little background on me Some quick questions How to use Done files Use a simple example

More information

SUGI 29 Systems Architecture. Paper 223-29

SUGI 29 Systems Architecture. Paper 223-29 Paper 223-29 SAS Add-In for Microsoft Office Leveraging SAS Throughout the Organization from Microsoft Office Jennifer Clegg, SAS Institute Inc., Cary, NC Stephen McDaniel, SAS Institute Inc., Cary, NC

More information

Advanced Excel Charts : Tables : Pivots : Macros

Advanced Excel Charts : Tables : Pivots : Macros Advanced Excel Charts : Tables : Pivots : Macros Charts In Excel, charts are a great way to visualize your data. However, it is always good to remember some charts are not meant to display particular types

More information

Pastel Evolution BIC. Getting Started Guide

Pastel Evolution BIC. Getting Started Guide Pastel Evolution BIC Getting Started Guide Table of Contents System Requirements... 4 How it Works... 5 Getting Started Guide... 6 Standard Reports Available... 6 Accessing the Pastel Evolution (BIC) Reports...

More information