Applications Big & Small. Visual Basic for Application with SAS Software to Dynamically Collate Microsoft Word Documents
|
|
- Nicholas McBride
- 7 years ago
- Views:
Transcription
1 ABSTRACT Visual Basic for Application with SAS Software to Dynamically Collate Microsoft Word Documents Mei Li, ImClone Systems, Branchburg, NJ Zemin Zeng, Forest Research Institute, Inc., Jersey City, NJ This paper describes the process of developing an application to collate and print Microsoft Word documents with SAS output tables and charts by region. The authors need was to customize Word documents generated by SAS, collate the Word document with SAS created tables and charts for individual regions selected by the SAS code, then print and mail the set of Word and SAS output files to the individual regions. To automate the process, the authors first use SAS to create external BAS files, dynamically import BAS files into Microsoft Visual Basic for Application (VBA) projects, then execute the VBA projects to automatically collate and print Word documents in Microsoft Word. INTRODUCTION Visual Basic for Applications (VBA) is a common development environment among all Office applications, SAS programmers have long taken advantage of VBA with Microsoft Office applications to perform post-process of SAS output in Microsoft Word. In the paper (Stetz, SUGI 25 Proceedings, 2000), Stetz built an elegant bridge between SAS and VBA. Stetz invented a Visual Basic Word macro called Run_VBA in Microsoft Word, which allows users to dynamically create new VBA procedures from SAS environment, and execute new Word application as instructed by the SAS statements. There are many publications applying Stetz technique in Microsoft Excel, but a very few in Microsoft Word. In the paper (Luo, SUGI 29 Proceedings, 2004), Lou attempted to apply Stetz technique to automatically allocate and print customized SAS output tables and charts, but did not succeed and had to use an alternative approach to achieve the goal. This paper will re-consider Luo s allocating and printing tasks, and describes a process following Stetz technique to successfully complete the tasks. The authors first use SAS to create external BAS files, dynamically import BAS files into Microsoft Visual Basic for Application (VBA) projects via issuing Window DOS commands in SAS, then execute the VBA projects to automatically collate and print Word documents in Microsoft Word. Comparing to Luo s approach, our application is much more dynamic, simple and straightforward. COLLATING TASKES In the paper (Luo, SUGI 29 Proceedings, 2004), It was need to mail letters associated by SAS output tables and charts to hospitals. A desired application needs to be developed to automate the following: 1. Incorporate a well-formatted letter created in Microsoft Word. 2. Each letter should have the specific address selected by the SAS program. 3. Each letter should be followed by the table and chart produced by the SAS program for that specific location, post-process of the table and chart are required to be set as landscape. 4. The letter, table, and chart should be printed together. 5. The collating and printing process should continue to the next location until completed for all selected locations. 6. The automation should accept input from the user to specify parameters such as paths to files. 7. The whole process should not require intermittent manual interaction and afterward cleanup. In this paper, we will use the dummy data as presented in Luo s paper and demonstrate how to develop an application to accomplish the above tasks by applying Stetz technique. STETZ TECHNIQUE In the paper (SUGI 25 Proceedings, 2000), Stetz provided a Word macro Run_VBA to automate Word task. This Word macro creates a Word subroutine under the Normal project in Visual Basic by importing an external BAS file, invoke the Word subroutine, and the application defined by the Word subroutine will execute immediately, then delete the Word macro from the Normal project at the end. To meet authors need for the application in Microsoft Word, the authors modified it as below which is necessary to dynamically create new Word procedures for our application purpose (See the Appendix 1 for the modified version. Also see the paper Zeng and Li 2009 NESUG for other modified setup via VBA application of Stetz technique): 1. Delete the kill bas file statement so that there is enough time to execute the new dynamically generated Word macro which is defined in the bas file in SAS. 1
2 2. Set the Exit Word to NO, namely do not quit the Word application. These two modifications are crucial, because if the bas file was deleted before the new macro execution, the application defined by the BAS file would be abnormally interrupted and results in a failure of executing the Word application. As for setting the Exit Word to NO, it would guarantee that there is enough time for the printing process to finish. If the Application.Quit command in VBA was issued, then the printing process would be cancelled, as a consequence, the printing job will not be continued. The Run_VBA Word macro needs to be installed in the Microsoft Word. For the users of the Microsoft Word 2003, the authors refer to the set-up steps in Stetz paper (SUGI 25 Proceedings, 2000). The users need to strictly follow the 11 steps starting from the second page of Stetz paper, except copy the authors modified Run_VBA code in the Appendix 1 to the Visual Basic Editor (VBE). Then follow the 3 steps in the middle of the third page of Stetz paper to set-up the Word prompt for saving changes to the Normal Template. For the users of Microsoft Word 2007, the 3 steps to set-up the Word prompt for saving changes to the Normal Template in Microsoft Word are not applicable, neither the first step of the Stetz 11 steps. Instead, the users first need to open the Microsoft Word and use shortcut ALT + F11 to open the VBE and then follow the remaining 10 steps as Stetz provided. Furthermore additional steps below need to follow as well: 1. Open Microsoft Word Click the Developer menu 3. Click the Macro Security at the left corner of the Menu bar 4. Select the Macro Settings 5. Check the Enable all macros and Trust access to VBA project object model ALLOCATE WORD DOCUMENTS After the installation of the Word macro Run_VBA (see Appendix 1) in the Microsoft Word, it is ready to establish our allocating and printing process. Below are the steps (see the macro allocate.sas in Appendix 2 and refer to the codes there in the following steps): Step I. Get the data and produce table and chart by region. For the illustration purpose, we will take the example as in Luo s paper. The codes in this part were copied from Luo s paper. Also assume we have a generic letter (say with file name letter.doc, in the document, hit Enter first, then make a centered Title and some normal-font content) which is going to be personalized and mailed out with the SAS output table and chart for a particular region. The address Excel file is as in the Appendix 3 and need to be saved, say in the same folder where the letter resides. Our focus now is no how to customize the letter and the SAS output table and chart (specifically, to add the mailing address of the manager in corresponding region in the beginning of the letter and set the table and chart to be landscape) and then print them out by region via dynamical VBA macros, which are going to be created in SAS, and then invoke them in the VBA and execute them to automate our Word tasks on the SAS output table and chart. Step II. Define the BAS file for how to customize letter, SAS output table and chart by region in VBA languages. We create the bas file using the SAS put statements and save it to location where SAS output tables and charts reside. These codes belong to VBA languages, and mean the following actions in Microsoft Word: a. Open the letter file in Microsoft Word b. Insert the address lines to the beginning of the letter c. Print the letter document and then close it without saving the address line just inserted d. Open the SAS output Word document consisting of the table and chart e. Set the SAS output Word document to be landscape f. Print the Word document and close it without saving the landscape page setting Comparing to Luo s approach, we integrate the inserting and page setting procedures together in a single VBA macro which is going to be generated by importing the BAS file to VBA in the next step. Such BAS file can be so flexibly created in SAS, while in Luo s approach, such similar VBA procedures were needed to be recorded in the VBA environment separately. Step III. Set up the VBA running environment, import the BAS file and run it in VBA to generate VBA macro A batch file is to be defined by SAS. In the batch file, the VBA environment is set up and the system function is called to run the batch file. During the running time of the batch file, the following actions are taken place: Invoke Word using the /mrun_vba startup switch Create a new module in the Normal project in VBA Read in the BAS file defined in the Step II containing the VBA macro shoesi (where i is an integer and takes values from 1 to the total number of the regions) generated in the SAS data step Execute the VBA macro shoesi Delete the new model from the Normal project in VBA During the execution of the VBA macro shoesi for the i th region, the address lines of the manager of the i th region are added to the beginning of the letter and print the letter and then open the i th region s Word document and set the landscape page layout and print it. By this Step III, the allocating and printing tasks by region are accomplished. In the next step, we will do the file clear up. 2
3 Step IV. Close the Word application and Clear up the BAS file Before close the Word application, it is very necessary to let the system sleep a few seconds. To close the Microsoft Word, we use Dynamic Data Exchange (DDE) and WordBasic commands. At the end, delete the BAS file. Through the above four steps, we complete the customizing, allocating and printing process of the Word documents. It needs to point out that we should have all Word windows be closed before run the macro allocate.sas (Appendix 2), Otherwise an error message This file is in use by another application or user in the Microsoft Word would appear due to the modifications to the Normal Template in the VBA during the running of allocate.sas. Also when ODS RFT invokes Microsoft Word to open the shoesi.rtf file, we need select Cancel to not open the rtf file due to the next immediately Word-process on the file. CONCLUSIONS The process of developing an application to collate and print Microsoft Word documents with SAS output tables and charts by region is accomplished by the dynamical conversations between SAS software and VBA in Microsoft Word environment. The application, comparing to the one in the paper (Luo, SUGI 29 Proceedings, 2004), is much more straightforward, dynamic and simple. Furthermore, the demonstrated way to establish connections between SAS and VBA could be easily adapted for developing new applications. REFERENCES Stetz, Mark (2000). Using SAS Software and Visual Basic for Applications to Automate Tasks in Microsoft Word: An Alternative to Dynamic Data Exchange, Proceedings of the Twenty-Fifth Annual SAS Users Group International Conference, Paper Luo, Haiping (2004). Let SAS Tell Microsoft World to Collate, Proceedings of the Twenty-Ninth Annual SAS Users Group International Conference, Paper Zeng, Zemin and Li, Mei (2009). Using SAS Software and Visual Basic for Application to Automatically Produce Customized RTF Tables from SAS List Files, Coder's Corner section, Proceedings of the NESUG ACKNOWLEDGMENTS SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. CONTACT INFORMATION Your comments and questions are valued and encouraged. Contact the authors at: Mei Li, ImClone Systems, 33 ImClone Drive, Branchburg, New Jersey Jennifer.li@imclone.com Zemin Zeng, Forest Research Institute, Inc., Jersey City, NJ zemin.zeng@frx.com or zengzemin@gmail.com APPENDIX 1: RUN_VBA WORD MACRO Sub Run_VBA() '*** Adapted from the R_VBA Word Macro, originally created by Mark Stetz *** '*** SUGI 25, Paper: 21-25, 2000 *** '*** Declare local variables *** Dim vbcs As VBComponents Dim vbc As VBComponent Dim vba_filename As String Dim vba_path As String Dim vba_pgm As String '*** Read environment variables (created in RUN_VBA.SAS) *** vba_path = Environ("VBA_PATH") vba_pgm = Environ("VBA_PGM") '*** Get a reference to the Normal template component collection *** Set vbcs = VBE.VBProjects("Normal").VBComponents '*** Construct the filename of the SAS generated VBA macro *** vba_filename = vba_path & "\" & vba_pgm & ".bas" 3
4 '*** Add a new code module to the Normal template *** Set vbc = vbcs.add(vbext_ct_stdmodule) '*** Read in the SAS generated VBA macro *** vbc.codemodule.addfromfile FileName:=vba_filename '*** Run the SAS generated VBA macro *** Application.Run MacroName:=vba_pgm '*** Delete the code module from the Normal template *** vbcs.remove VBComponent:=vbc End Sub APPENDIX 2: COLLATE.SAS %macro collate(letter=, outfile=); /************************************************************************** * MACRO NAME: collate * AUTHORS: Mei LI and Zemin ZENG * DATE: 05/26/2009 * * PARAMETERS: letter -- the path of the standard letter * outfile -- the path of the folder to store the report * and chart files * * CALL SAMPLE: %collate(letter=g:\vba_collate, outfile=g:\vba_collate\output) * * CAUTIONS: 1. Need the set the R_VBA Word macro in Microsoft Word first * 2. Change the wordpath path if your Winword.exe file is not * in the folder: C:\Program Files\Microsoft Office\Office12 * 3. All Word window should be closed when run this macro * */ options noxwait noxsync mprint; %local wordpath vba_path vba_pgm h1 h2 h3 h4; %let wordpath=c:\program Files\Microsoft Office\Office12; %let vba_path=&outfile; Step I. Get the data and produce table and chart by region /* */ proc sort data=sashelp.shoes out=shoes; by subsidiary product; where (substr(region,1,2) eq 'Ca') and (substr(subsidiary,2,1) eq 'o'); *** Count and assign a number to each selected subsidiary for looping purpose; proc sort data=shoes(keep=subsidiary) out=shoes0 NODUPKEY; data snumber; set shoes0 end=lastobs; sn=_n_; if lastobs then call symput('subnumber',sn); Label sn = "Subsidiary Number"; data shoes; merge shoes snumber; *to import the address excel file; proc import out=address datafile="&letter\subaddress.xls" dbms=excel97 replace; sheet="sheet1$"; getnames=yes; 4
5 data shoes; merge shoes(in=a) address; ** Calculate some business statistics; ros=(returns/sales)*100; rov=(returns/inventory)*100; avgsales_sub=sales/stores; format ros rov 6.2 avgsales_sub dollar8.; Label ros="returns on Sales" rov="returns on Inventory" avgsales_sub="average Store Sales at the Subsidiary"; if a; %do i=1 %to &subnumber; *** Get regional data; data sales; set shoes(where=(sn=&i and Region^='')); ** obtain the mailing headers from the regional data; if first.subsidiary then do; call symput('h1',manager); call symput('h2',address1); call symput('h3',address2); call symput('h4',address3); end; *** Output to a rtf file; ods listing close; ods rtf file="&outfile\shoes&i..rtf"; *** Print the regional data to a table in the rtf file; title1 "Sales Report"; proc print data=sales (drop=region manager address1 address2 address3 sn) label noobs style(header)={background=white}; *** Output the regional data to a chart in the rtf file; goptions reset=all; proc gchart data=sales; vbar product / sumvar=ros patternid=midpoint raxis=axis1; title1 "Sales Report"; axis1 minor=none; quit; ods rtf close; ods listing; Step II. Define the BAS file for how to customized letter, SAS output table and chart by region in VBA languages /* */ %let vba_pgm=shoes&i; data _null_; file "&vba_path\&vba_pgm..bas"; put "Sub &vba_pgm()" ; put 'ChangeFileOpenDirectory' '"' "&letter" '"' ; put 'Documents.Open FileName:=' '"' 'letter.doc' '"' ; put 'Selection.WholeStory' ; put 'With Selection' ; %if &h4 ne %then %do; put '.InsertBefore chr(9) & ' '"' "&h4 " '"' '& chr(13)'; %end; %if &h3 ne %then %do; put '.InsertBefore chr(9) & ' '"' "&h3 " '"' '& chr(13)'; %end; %if &h2 ne %then %do; put '.InsertBefore chr(9) & ' '"' "&h2 " '"' '& chr(13)'; %end; %if &h1 ne %then %do; put '.InsertBefore "To" & chr(9) & ' '"' "&h1 " '"' '& chr(13)'; %end; put '.Collapse Direction :=wdcollapseend' ; put 'End With' ; 5
6 put 'ActiveDocument.PrintOut' ; put 'ActiveDocument.Close SaveChanges:=False' ; put 'ChangeFileOpenDirectory' '"' "&outfile" '"' ; put 'Documents.Open FileName:=' '"' "&vba_pgm..rtf" '"' ; put 'Selection.WholeStory' ; put 'With ActiveDocument.PageSetup' ; put '.Orientation = wdorientlandscape' ; put 'End With' ; put 'ActiveDocument.PrintOut' ; put 'ActiveDocument.Close SaveChanges:=False' ; put 'End Sub' ; Step III. Set up the VBA running environment, import the BAS file and run it in VBA to generate VBA macro * */ data _null_ ; file "&vba_path\&vba_pgm..bat" ; put "set VBA_PATH=&vba_path" ; put "set VBA_PGM=&vba_pgm" ; put "cd &wordpath" ; put "start winword.exe /mrun_vba" ; put "del ""&vba_path\&vba_pgm..bat"" " ; data _null_ ; call system("""&vba_path\&vba_pgm..bat""") ; Step IV. Close the Word application and clear up the BAS file /* */ data _null_; x=sleep(10); filename cmds dde 'WinWord System'; data _null_; file cmds; put '[AppClose]'; filename cmds clear; x "del &vba_path\&vba_pgm..bas"; %end; %mend collate; *%collate(letter=g:\vba_collate, outfile=g:\vba_collate\output); APPENDIX 3: SUBADDRESS.XLS Subsidiary manager address1 address2 address3 Calgary Jim Smith 123 M Street Calgary Montreal Brigitte Zuech 321 G Drive Suite E Montreal Ottawa Larry Watkins 987 T Ave Ottawa Toronto Nancy Green 346 H Lane Toronto Vancouver Don Ali 675 D Way Suite 3 ancouver 6
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 informationPharmaSUG 2011 - Paper AD03
PharmaSUG 2011 - Paper AD03 Using Visual Basic for Application to Produce Table of Contents from SAS Output List Files Zemin Zeng, Forest Research Institute, Inc., Jersey City, NJ Mei Li, ImClone Systems,
More informationImporting 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 informationData 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 informationSpelling Checker Utility in SAS using VBA Macro and SAS Functions Ajay Gupta, PPD, Morrisville, NC
PharmaSUG 2015 - Paper P017 Spelling Checker Utility in SAS using VBA Macro and SAS Functions Ajay Gupta, PPD, Morrisville, NC ABSTRACT In Pharmaceuticals/CRO industries, it is quite common to have typographical
More informationHummingbird Enterprise 2004 5.1.0.5
COM Automation for Microsoft Word & Excel Hummingbird Enterprise 2004 5.1.0.5 COM Automation for Microsoft Word & Excel Version: 5.1.0.5 Service Release 5 and later Copyright 1998-2007 Hummingbird Ltd.
More informationDifferent 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 informationSUMMARY Moderate-High: Requires Visual Basic For Applications (VBA) skills, network file services skills and interoperability skills.
Author: Sanjay Sansanwal Title: Configuring FileCM Extensions for Word The information in this article applies to: o FileCM 2.6, 3.0, 3.5, 3.5.1, 3.5.2, 4.0, 4.2 o Microsoft Windows 2000 Professional,
More informationWord 2010: Mail Merge to Email with Attachments
Word 2010: Mail Merge to Email with Attachments Table of Contents TO SEE THE SECTION FOR MACROS, YOU MUST TURN ON THE DEVELOPER TAB:... 2 SET REFERENCE IN VISUAL BASIC:... 2 CREATE THE MACRO TO USE WITHIN
More informationCombining SAS LIBNAME and VBA Macro to Import Excel file in an Intriguing, Efficient way Ajay Gupta, PPD Inc, Morrisville, NC
ABSTRACT PharmaSUG 2013 - Paper CC11 Combining SAS LIBNAME and VBA Macro to Import Excel file in an Intriguing, Efficient way Ajay Gupta, PPD Inc, Morrisville, NC There are different methods such PROC
More informationGenerating Microsoft Word Macros that Automate the Organization and Maintenance of SAS Tables, Listings and Figures
CC14 Generating Microsoft Word Macros that Automate the Organization and Maintenance of SAS Tables, Listings and Figures ABSTRACT Liz Taylor, Endo Pharmaceuticals, Chadds Ford, PA Generally, a great deal
More informationChoosing 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 informationExcel & 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 informationTHE 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 informationCreate 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 informationMigrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1
Migrating to Excel 2010 - Excel - Microsoft Office 1 of 1 In This Guide Microsoft Excel 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key
More informationUsing SAS/GRAPH Software to Create Graphs on the Web Himesh Patel, SAS Institute Inc., Cary, NC Revised by David Caira, SAS Institute Inc.
Paper 189 Using SAS/GRAPH Software to Create Graphs on the Web Himesh Patel, SAS Institute Inc., Cary, NC Revised by David Caira, SAS Institute Inc., Cary, NC ABSTRACT This paper highlights some ways of
More informationMicrosoft Migrating to Word 2010 from Word 2003
In This Guide Microsoft Word 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key parts of the new interface, discover free Word 2010 training,
More informationA 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 informationAppendix A How to create a data-sharing lab
Appendix A How to create a data-sharing lab Creating a lab involves completing five major steps: creating lists, then graphs, then the page for lab instructions, then adding forms to the lab instructions,
More informationCombining External PDF Files by Integrating SAS and Adobe Acrobat Brandon Welch, Rho, Inc., Chapel Hill, NC Ryan Burns, Rho, Inc.
Paper BB-15 Combining External PDF Files by Integrating SAS and Adobe Acrobat Brandon Welch, Rho, Inc, Chapel Hill, NC Ryan Burns, Rho, Inc, Chapel Hill, NC ABSTRACT As SAS programmers of various disciplines,
More informationEXTRACTING DATA FROM PDF FILES
Paper SER10_05 EXTRACTING DATA FROM PDF FILES Nat Wooding, Dominion Virginia Power, Richmond, Virginia ABSTRACT The Adobe Portable Document File (PDF) format has become a popular means of producing documents
More informationAdvanced Presentation Features and Animation
There are three features that you should remember as you work within PowerPoint 2007: the Microsoft Office Button, the Quick Access Toolbar, and the Ribbon. The function of these features will be more
More informationDatabase Automation using VBA
Database Automation using VBA UC BERKELEY EXTENSION MICHAEL KREMER, PH.D. E-mail: access@ucb-access.org Web Site: www.ucb-access.org Copyright 2010 Michael Kremer All rights reserved. This publication,
More informationImporting Excel Files Into SAS Using DDE Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA
Importing Excel Files Into SAS Using DDE Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA ABSTRACT With the popularity of Excel files, the SAS user could use an easy way to get Excel files
More informationIntroduction to Microsoft Access 2003
Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft
More informationIntermediate PowerPoint
Intermediate PowerPoint Charts and Templates By: Jim Waddell Last modified: January 2002 Topics to be covered: Creating Charts 2 Creating the chart. 2 Line Charts and Scatter Plots 4 Making a Line Chart.
More informationTheEducationEdge. Export Guide
TheEducationEdge Export Guide 102111 2011 Blackbaud, Inc. This publication, or any part thereof, may not be reproduced or transmitted in any form or by any means, electronic, or mechanical, including photocopying,
More informationManaging Contacts in Outlook
Managing Contacts in Outlook This document provides instructions for creating contacts and distribution lists in Microsoft Outlook 2007. In addition, instructions for using contacts in a Microsoft Word
More informationUsing 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 informationIntegrating SAS and Microsoft Office for Analysis and Reporting of Hearing Loss in Occupational Health Management
Integrating SAS and Microsoft Office for Analysis and Reporting of Hearing Loss in Occupational Health Management George Bukhbinder, Palisades Research, Inc., Bernardsville, NJ Mark Nicolich, ExxonMobil
More informationMicrosoft Office Access 2007 Basics
Access(ing) A Database Project PRESENTED BY THE TECHNOLOGY TRAINERS OF THE MONROE COUNTY LIBRARY SYSTEM EMAIL: TRAININGLAB@MONROE.LIB.MI.US MONROE COUNTY LIBRARY SYSTEM 734-241-5770 1 840 SOUTH ROESSLER
More informationProgramming 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 informationExcel Reports and Macros
Excel Reports and Macros Within Microsoft Excel it is possible to create a macro. This is a set of commands that Excel follows to automatically make certain changes to data in a spreadsheet. By adding
More informationExporting Contact Information
Contents About Exporting Contact Information Selecting Layouts Creating/Changing Layouts Removing Layouts Exporting Contact Information Exporting Contact Information About Exporting Contact Information
More informationMicrosoft Access 2010 handout
Microsoft Access 2010 handout Access 2010 is a relational database program you can use to create and manage large quantities of data. You can use Access to manage anything from a home inventory to a giant
More informationfor Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later
for Networks Installation Guide for the application on a server September 2015 (GUIDE 2) Memory Booster version 1.3-N and later Copyright 2015, Lucid Innovations Limited. All Rights Reserved Lucid Research
More informationUser s Manual. Version 4.0. Levit & James, Inc.
User s Manual Version 4.0 April 2008 [This page is intentionally left blank] CrossWords Installation & Operation Guide 3 LEGAL NOTES The information contained in this document represents the current view
More informationJob Streaming User Guide
Job Streaming User Guide By TOPS Software, LLC Clearwater, Florida Document History Version Edition Date Document Software Trademark Copyright First Edition 08 2006 TOPS JS AA 3.2.1 The names of actual
More informationGetting Started CHAPTER 1
3 CHAPTER 1 Getting Started SAS: Exploiting the Power of Windows 4 SAS Runs in Enterprise Environments 4 An Integral Part of Your Windows Environment 5 Compatible and Maintainable 6 Read and Write SAS
More informationADP Workforce Now V3.0
ADP Workforce Now V3.0 Manual What s New Checks in and Custom ADP Reporting Grids V12 Instructor Handout Manual Guide V10171180230WFN3 V09171280269ADPR12 2011 2012 ADP, Inc. ADP s Trademarks The ADP Logo
More informationF9 Integration Manager
F9 Integration Manager User Guide for use with QuickBooks This guide outlines the integration steps and processes supported for the purposes of financial reporting with F9 Professional and F9 Integration
More informationMail Merge Creating Mailing Labels 3/23/2011
Creating Mailing Labels in Microsoft Word Address data in a Microsoft Excel file can be turned into mailing labels in Microsoft Word through a mail merge process. First, obtain or create an Excel spreadsheet
More informationCAPIX Job Scheduler User Guide
CAPIX Job Scheduler User Guide Version 1.1 December 2009 Table of Contents Table of Contents... 2 Introduction... 3 CJS Installation... 5 Writing CJS VBA Functions... 7 CJS.EXE Command Line Parameters...
More informationhttp://www.bobti.com - SAP BusinessObjects and Xcelsius articles, links and ressources
In Business Objects XI, if you want to query the repository to obtain lists of users, connections, reports or universe for administrator purpose, it is not as easy as it was in former 4-5-6 releases. In
More informationStaying Organized with the Outlook Journal
CHAPTER Staying Organized with the Outlook Journal In this chapter Using Outlook s Journal 362 Working with the Journal Folder 364 Setting Up Automatic Email Journaling 367 Using Journal s Other Tracking
More informationAppendix K Introduction to Microsoft Visual C++ 6.0
Appendix K Introduction to Microsoft Visual C++ 6.0 This appendix serves as a quick reference for performing the following operations using the Microsoft Visual C++ integrated development environment (IDE):
More informationMicrosoft Dynamics GP. Electronic Signatures
Microsoft Dynamics GP Electronic Signatures Copyright Copyright 2011 Microsoft. All rights reserved. Limitation of liability This document is provided as-is. Information and views expressed in this document,
More informationUsing 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 informationWhat is a Mail Merge?
NDUS Training and Documentation What is a Mail Merge? A mail merge is generally used to personalize form letters, to produce mailing labels and for mass mailings. A mail merge can be very helpful if you
More informationemarketing Manual- Creating a New Email
emarketing Manual- Creating a New Email Create a new email: You can create a new email by clicking the button labeled Create New Email located at the top of the main page. Once you click this button, a
More informationCreating an Excel Database for a Mail Merge on a PC. Excel Spreadsheet Mail Merge. 0 of 8 Mail merge (PC)
Creating an Excel Database for a Mail Merge on a PC Excel Spreadsheet Mail Merge 0 of 8 Creating an Excel Database for a Mail Merge on a PC 1. To create a database for a mail merge you will first need
More informationVodafone PC SMS 2010. (Software version 4.7.1) User Manual
Vodafone PC SMS 2010 (Software version 4.7.1) User Manual July 19, 2010 Table of contents 1. Introduction...4 1.1 System Requirements... 4 1.2 Reply-to-Inbox... 4 1.3 What s new?... 4 2. Installation...6
More informationAARP Tax-Aide Helpful Hints for Using the Volunteer Excel Expense Form and Other Excel Documents
AARP Tax-Aide Helpful Hints for Using the Volunteer Excel Expense Form and Other Excel Documents This document is designed to give you information to help you perform Excel file functions associated with
More informationUsing SAS to Create Graphs with Pop-up Functions Shiqun (Stan) Li, Minimax Information Services, NJ Wei Zhou, Lilly USA LLC, IN
Paper CC12 Using SAS to Create Graphs with Pop-up Functions Shiqun (Stan) Li, Minimax Information Services, NJ Wei Zhou, Lilly USA LLC, IN ABSTRACT In addition to the static graph features, SAS provides
More informationExporting Client Information
Contents About Exporting Client Information Selecting Layouts Creating/Changing Layouts Removing Layouts Exporting Client Information Exporting Client Information About Exporting Client Information Selected
More informationRFMS, INC. Reference Library Documentation. Version 10 Conversion Manual. Microsoft SQL
RFMS, INC. Reference Library Documentation Version 10 Conversion Manual Microsoft SQL TABLE OF CONTENTS GENERAL INFORMATION... 3 SYSTEM SPECIFICATIONS AND RECOMMENDATIONS... 4 SQL EXPRESS INSTALLATION...
More informationWe begin by defining a few user-supplied parameters, to make the code transferable between various projects.
PharmaSUG 2013 Paper CC31 A Quick Patient Profile: Combining External Data with EDC-generated Subject CRF Titania Dumas-Roberson, Grifols Therapeutics, Inc., Durham, NC Yang Han, Grifols Therapeutics,
More informationWord Processing Features. Creating Tables. Steps to Create a Table. Word Processing Features PowerPoint Handout 3.A.1
Word Processing Features PROFITT Curriculum Basic Computer Skills Module 3 Introduction to Microsoft Word Adapted from CTAERN Curriculum Creating Tables Table an arrangement of text or numbers in rows
More informationSpecial and Fundraising Events Masters Class. Part 2: Managing your Event and Sending Invitations
Special and Fundraising Events Masters Class Part 2: Managing your Event and Sending Invitations Find Your Event Go to the Events Tab and either find the event on the Calendar, or use the Search Bar. Invitations
More informationRIT 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 informationInstruction manual. testo easyheat Configuration and Analysis software
Instruction manual testo easyheat Configuration and Analysis software en 2 General Information General Information This documentation includes important information about the features and application of
More informationfor Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later
for Networks Installation Guide for the application on the server July 2014 (GUIDE 2) Lucid Rapid Version 6.05-N and later Copyright 2014, Lucid Innovations Limited. All Rights Reserved Lucid Research
More informationfor Networks Installation Guide for the application on the server August 2014 (GUIDE 2) Lucid Exact Version 1.7-N and later
for Networks Installation Guide for the application on the server August 2014 (GUIDE 2) Lucid Exact Version 1.7-N and later Copyright 2014, Lucid Innovations Limited. All Rights Reserved Lucid Research
More informationMicrosoft Access 2010 Part 1: Introduction to Access
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Microsoft Access 2010 Part 1: Introduction to Access Fall 2014, Version 1.2 Table of Contents Introduction...3 Starting Access...3
More informationM4 Advanced Recurring Billing. User Guide
M4 Advanced Recurring Billing User Guide Version 8.23 Last Updated: November 2009 Table of Contents Overview 4 Introduction 4 Summary of Features 4 Key Benefits 5 Installation / Maintenance 6 Software
More informationWhile this graph provides an overall trend to the data, the shear volume of data presented on it leaves several questions unanswered.
1 CC-06 Quick and Easy Visualization of Longitudinal data with the WEBFRAME graphics device Kevin P. Delaney MPH, Centers for Disease Control and Prevention, Atlanta, GA Abstract: Data Visualization is
More informationInterfacing SAS Software, Excel, and the Intranet without SAS/Intrnet TM Software or SAS Software for the Personal Computer
Interfacing SAS Software, Excel, and the Intranet without SAS/Intrnet TM Software or SAS Software for the Personal Computer Peter N. Prause, The Hartford, Hartford CT Charles Patridge, The Hartford, Hartford
More informationSAS, Excel, and the Intranet
SAS, Excel, and the Intranet Peter N. Prause, The Hartford, Hartford CT Charles Patridge, The Hartford, Hartford CT Introduction: The Hartford s Corporate Profit Model (CPM) is a SAS based multi-platform
More informationMicrosoft Migrating to PowerPoint 2010 from PowerPoint 2003
In This Guide Microsoft PowerPoint 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key parts of the new interface, discover free PowerPoint
More informationA Basic introduction to Microsoft Access
A Basic introduction to Microsoft Access By Ojango J.M.K Department of Animal Sciences, Egerton University, Njoro, Kenya and International Livestock Research Institute, Nairobi, Kenya Ms Access is a database
More informationUNIX Comes to the Rescue: A Comparison between UNIX SAS and PC SAS
UNIX Comes to the Rescue: A Comparison between UNIX SAS and PC SAS Chii-Dean Lin, San Diego State University, San Diego, CA Ming Ji, San Diego State University, San Diego, CA ABSTRACT Running SAS under
More informationUnleashing Hidden Powers of Inventor with the API Part 1. Getting Started with Inventor VBA Hello Inventor!
Unleashing Hidden Powers of Inventor with the API Part 1. Getting Started with Inventor VBA Hello Inventor! Brian Ekins Autodesk, Inc. This article provides an introduction to Inventor's VBA programming
More informationUsing Pharmacovigilance Reporting System to Generate Ad-hoc Reports
Using Pharmacovigilance Reporting System to Generate Ad-hoc Reports Jeff Cai, Amylin Pharmaceuticals, Inc., San Diego, CA Jay Zhou, Amylin Pharmaceuticals, Inc., San Diego, CA ABSTRACT To supplement Oracle
More informationMicrosoft' Excel & Access Integration
Microsoft' Excel & Access Integration with Office 2007 Michael Alexander and Geoffrey Clark J1807 ; pwiueyb Wiley Publishing, Inc. Contents About the Authors Acknowledgments Introduction Part I: Basic
More informationAN 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 informationCrystal Converter User Guide
Crystal Converter User Guide Crystal Converter v2.5 Overview The Crystal Converter will take a report that was developed in Crystal Reports 11 or lower and convert the supported features of the report
More informationSAS -with-excel Application Development Tools and Techniques, Expanded Edition LeRoy Bessler, Assurant Health, Milwaukee, Wisconsin, USA
SAS -with-excel Application Development Tools and Techniques, Expanded Edition LeRoy Bessler, Assurant Health, Milwaukee, Wisconsin, USA Abstract The commonest non-sas tool for data presentation, and working
More informationIntroduction to Microsoft Access XP
Introduction to Microsoft Access XP Access is the database management system in Microsoft Office. A database is an organized collection of facts about a particular subject. An address book or a library
More informationPublisher 2010 Cheat Sheet
April 20, 2012 Publisher 2010 Cheat Sheet Toolbar customize click on arrow and then check the ones you want a shortcut for File Tab (has new, open save, print, and shows recent documents, and has choices
More informationBeginning Level Microsoft Access (Database)
Beginning Level Microsoft Access (Database) Cleveland Heights - University Heights Schools Summer 1999 Index Database Introduction 1 Creating Tables 3 Entering Information in Records 6 Creating Forms 9
More informationHow To Write A Clinical Trial In Sas
PharmaSUG2013 Paper AD11 Let SAS Set Up and Track Your Project Tom Santopoli, Octagon, now part of Accenture Wayne Zhong, Octagon, now part of Accenture ABSTRACT When managing the programming activities
More informationDatabase Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5.
1 2 3 4 Database Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5. It replaces the previous tools Database Manager GUI and SQL Studio from SAP MaxDB version 7.7 onwards
More informationLesson 07: MS ACCESS - Handout. Introduction to database (30 mins)
Lesson 07: MS ACCESS - Handout Handout Introduction to database (30 mins) Microsoft Access is a database application. A database is a collection of related information put together in database objects.
More informationMicrosoft Office Access 2007 which I refer to as Access throughout this book
Chapter 1 Getting Started with Access In This Chapter What is a database? Opening Access Checking out the Access interface Exploring Office Online Finding help on Access topics Microsoft Office Access
More informationUsing Mail Merge to Create Form Letters and Labels
Using Mail Merge to Create Form Letters and Labels 1. Open the word document on your floppy: Practice letter 2. Go to Tools > Mail Merge. The Mail Merger Helper appears. We are going to create form letters,
More informationMastering Mail Merge. 2 Parts to a Mail Merge. Mail Merge Mailings Ribbon. Mailings Create Envelopes or Labels
2 Parts to a Mail Merge 1. MS Word Document (Letter, Labels, Envelope, Name Badge, etc) 2. Data Source Excel Spreadsheet Access Database / query Other databases (SQL Server / Oracle) Type in New List Mail
More informationProducing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA
Producing Listings and Reports Using SAS and Crystal Reports Krishna (Balakrishna) Dandamudi, PharmaNet - SPS, Kennett Square, PA ABSTRACT The SAS Institute has a long history of commitment to openness
More informationCREATING FORMAL REPORT. using MICROSOFT WORD. and EXCEL
CREATING a FORMAL REPORT using MICROSOFT WORD and EXCEL TABLE OF CONTENTS TABLE OF CONTENTS... 2 1 INTRODUCTION... 4 1.1 Aim... 4 1.2 Authorisation... 4 1.3 Sources of Information... 4 2 FINDINGS... 4
More informationExcel 2003 A Beginners Guide
Excel 2003 A Beginners Guide Beginner Introduction The aim of this document is to introduce some basic techniques for using Excel to enter data, perform calculations and produce simple charts based on
More informationAdd an Audit Trail to your Access Database
Add an to your Access Database Published: 22 April 2013 Author: Martin Green Screenshots: Access 2010, Windows 7 For Access Versions: 2003, 2007, 2010 About This Tutorial My Access tutorials are designed
More informationFor Introduction to Java Programming, 5E By Y. Daniel Liang
Supplement H: NetBeans Tutorial For Introduction to Java Programming, 5E By Y. Daniel Liang This supplement covers the following topics: Getting Started with NetBeans Creating a Project Creating, Mounting,
More informationXRD CONVERSION USER S MANUAL
XRD CONVERSION USER S MANUAL Table of Contents Document Layout........................................ 1 Starting XRD Conversion.................................. 2 XRD Conversion Main Window............................
More informationTips and Tricks SAGE ACCPAC INTELLIGENCE
Tips and Tricks SAGE ACCPAC INTELLIGENCE 1 Table of Contents Auto e-mailing reports... 4 Automatically Running Macros... 7 Creating new Macros from Excel... 8 Compact Metadata Functionality... 9 Copying,
More informationMS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.
MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros. Record a macro 1. On the Developer tab, in the Code group, click Record Macro. 2. In
More informationVBA 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 informationMicrosoft Visual Studio Integration Guide
Microsoft Visual Studio Integration Guide MKS provides a number of integrations for Integrated Development Environments (IDEs). IDE integrations allow you to access MKS Integrity s workflow and configuration
More informationNetWrix SQL Server Change Reporter. Quick Start Guide
NetWrix SQL Server Change Reporter Quick Start Guide NetWrix SQL Server Change Reporter Quick Start Guide Contents Introduction...3 Product Features...3 Licensing...4 How It Works...5 Getting Started...6
More informationMS Access Lab 2. Topic: Tables
MS Access Lab 2 Topic: Tables Summary Introduction: Tables, Start to build a new database Creating Tables: Datasheet View, Design View Working with Data: Sorting, Filtering Help on Tables Introduction
More information