THE HELLO WORLD PROJECT
|
|
|
- Lauren Lyons
- 10 years ago
- Views:
Transcription
1 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 Consultancy, LLC, Phoenix, AZ ABSTRACT With everything becoming more Security Aware, hearing that Microsoft Excel 2007 can ignore DDE is no surprise. The SAS ODS Tagset ExcelXP creates *.xml output, and *.xml output cannot contain graphs. Nowadays, no one wants Excel spreadsheets with any kind of macros in the workbook. Most default security settings will not open Macro Infected workbooks (without an authorized Digital Signature just try to get one of those). So how can SAS Programmers, without Admin rights, get graphs into your Excel workbooks? One way is to build them in Excel yourself, one at a time But, did you really start writing SAS code to build graphs one at a time, In Excel? This paper shows you how to create data using SAS, then command Microsoft Excel to read the data, create a graph or fully reformat a worksheet, build a *.xls/*.xlsx file (NOTE no embedded macros can be saved in *.xlsx files); without putting an Excel macro into the Excel Workbook? And the programs will do it all while you watch, for multiple sheets in a workbook? Over, and Over, and Over again. This paper defines the pieces and parts of SAS code, and Excel code, that you can write, which will allow the creation of a fully integrated system to create and format macro free Excel 2007 workbooks, without downloading any external data or code from the Forbidden Unsecure Internet ; using SAS Version 9 (SAS Version 8 if internet downloads are available) and Excel 97 and above. INTRODUCTION DDE is an old but powerful tool. It can be used to drop data into the middle of an Excel worksheet, or an Excel Named Range of cells, without disturbing any of the cells around the rest of the page. This is a great tool for providing data for a graph in Excel, when the exact size of the data is known. The ODS tagset ExcelXP on the other hand writes a *.xml text file. Excel can process these files, but SAS cannot include SAS Graphs in *.xml files. This paper will introduce a simple Hello World project that will demonstrate how to use the SAS ODS Tagset ExcelXP to create a simple *.xml file and have SAS send it to Excel. Excel will then modify the file and display the results for us to examine. The only action required on the part of the SAS user (after the initial setup of the code) is to run the SAS code. All of the Excel activity is pre-programmed. A Hello World project is a Proof of Concept project. When using computers that usually means that if you can write one word to a disk drive and read that word back, then you can fill the space available to you and read it all back. More broadly, if you can show that one thing is possible, then all legal actions are too. This gives the programmer a path from which they can branch out and do anything. The hardest thing is to figure out how to do the first thing. This paper will define a Hello World project and extend that to an example routine that will work as a scaffold upon which additional routines can be built. THE HELLO WORLD PROJECT Well, it was mentioned that there was some setup required, so let s get at it now. Any version of SAS that can run ODS and the tagset ExcelXP will do for the SAS platform (V8 and above). Let s look at the SAS Code in this section. This code creates a simple SAS File with one variable, one observation, and one value, the word Hello. This project is to get Excel to add the word World to the phrase, in a place known to Excel and visible to us. The rest of the code, opens the ODS Tagset as an output destination, and creates a *.xml file using the PROC PRINT procedure. Finally the X command is used to run Microsoft Excel and provide the new *.xml file as input to the Excel system. The ODS tagset generates an excel sheet name of Greetings, a background view in the Excel file with minimal formatting, and the font size of the headers will be a little larger than the rest of the information, and PROC PRINT will split the header Greetings World above the value Hello onto two lines. CREATE A SIMPLE SAS FILE (THE HELLO PART OF THE PROJECT) A Note about Cut-and-Paste This code (or any SAS code) may not transfer from one format (i.e. *.PDF or *.DOC) to the same text characters that SAS uses. Special characters or Quotes may not convert correctly. The code may need to be entered or adjusted manually. 1
2 * Create a simple SAS File; Data Hello_to_the_world; Greeting = 'Hello'; Run; * Start ODS and name the output xml file; %let hello_xml = c:\temp\hello_world_test.xml; Ods tagsets.excelxp file="&hello_xml"; * Setup ods options to call the proc print procedure; Ods tagsets.excelxp options(sheet_name='greeting') Style=minimal; * Create an xml file using ods output and proc print; Proc Print data = Hello_to_the_world label split = '*' noobs; Label greeting = 'Greatings*World'; Var greeting / style(head) = {Font_Size = 2}; * increase row 1 font size; Run; Ods tagsets.excelxp close; Options noxwait noxsync; * run Excel default path - pick one; X "'C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE' &hello_xml"; * run Excel default path - pick one; *X "'C:\Program Files(x86)\Microsoft Office\Office12\EXCEL.EXE' &hello_xml"; Options xwait xsync; Run; SETUP THE EXCEL ENVIRONMENT That was the easy part, now on to the Excel setup. Most Excel users know that Excel will record a macro, and the macro can be associated with a key-stroke command that will run the macro. These macros are usually stored within the current workbook, or deleted before exiting Excel. What most users do not know is that Excel has a way to store macros so they are available to be used on all workbooks on a given computer, and not stored with the workbook. Furthermore, there is a way to give those macros control of Excel BEFORE the spreadsheets are visible to the user. The macros are stored in a Start-Up location that Excel loads into the Visual Basic Workbench before accessing the spreadsheets. These commands (Macros) are available when the workbooks start loading into Excel. The Windows XP default location for storing the system macros is the user accessible directory named C:\Documents and Settings\[your-user-id]\Application Data\Microsoft\Excel\XLSTART. And the Excel default file name is PERSONAL.XLS. Figure 1. Selecting the Personal Macro Workbook to store an Excel macro. When you create or update this Macro Workbook (it can hold data too) you will be prompted in the following way if the Personal Workbook has changes that need to be saved. 2
3 Figure 2. Prompt to save the PERSONAL.XLS (or PERSONAL.XLSB) macro workbook. CREATE A SIMPLE EXCELFILE AND MACRO (THE WORLD PART OF THE PROJECT) The next step is to record a macro, in this case we will continue with recording Macro1 with the CNTL/SHIFT/H hot key assignment shown above. If we do this in a new workbook called Book1 all that needs to be done is type World in cell B2. Then stop recording. The results look like the following two screen shoots. Figures 3 and 4. Sample workbook and PERSONAL.XLS macro to write World in cell B2. Now we have the beginning and the end of the project. So, running the SAS programs that will also run Excel and produce the following output. Figures 5 and 6. SAS Code and the Excel system way that Excel looks when the *.xml file opens (Note that the heading Greetings World is on two lines in the Excel output file. But to get the word World into cell B2 the hot key CNTL/SHIFT/H still needs to be typed by the user. 3
4 THE FIX ANOTHER EXCEL MACRO This Excel macro is the key to the process. It resides in a special place. The special place is. The First Place Given Control to the Programmer, by Excel Figure 7. Workbook_Open Excel user written macro Figure 8. Result when SAS ran and opened Excel with the Workbook_Open Excel user written macro installed. 4
5 A NOTE ABOUT EXCEL Like most other SAS Programmers that are also Excel users, this author has determined that Excel likes to dance to its own tune. Which means as soon as someone tells you what Excel will do in a particular situation; it will seem to do something else. This is the case with getting the macros listed here to execute correctly (meaning how you want them to execute, not how Excel thinks they should run). To that end, it should be pointed out that if you double click on an Excel file to open it, Excel may do its processing slightly differently than if the SAS system executes an X command to run Excel. Yes, that does not sound right, but try it for yourself. A clever little trick is to place a macro in the WORKBOOK_OPEN Excel macro with a message box to display information about what is going on at that instant. This will allow you to check for yourself. Remember our last macro in WORKBOOK_OPEN (here it is with an added MsgBox command. This neat little debugging tool can be useful in figuring out what is going on with Excel at the start of the program (when you cannot start the debugger) to give you guidance about how to process the code. The color is to highlight the code, it will not appear in red type in the macro workbook. Private Sub Workbook_open() Dim my_count As Integer, my_book As String, my_sheet As String My_count = Workbooks.Count Msg = "sub=workbook_open - workbook count= " + Str(my_count)'Define message Style = vbokonly 'Define buttons Title = "Workbook name = " + ThisWorkbook.Name 'Define title Response = MsgBox(Msg, Style, Title) 'wait for user For I = 1 To my_count my_book = Workbooks(i).Name my_sheet = Workbooks(i).Sheets(1).Name Msg = "sub=workbook count loop - workbook counter= " + Str(i) Title = "Workbook name = " + my_book Response = MsgBox(Msg, Style, Title) Next End Sub if my_book <> "PERSONAL.XLS" Then Call Macro1 End If AN EXPLINATION OF THE WORKBOOK_OPEN USER WRITTEN EXCEL MACRO It may seem a little more complex than needed, it is a little (but the Message Boxes can go away). If the macro had been a simple call to Macro1 you might think it would have worked, but remember that now your computer has a new Hidden Workbook that Excel will always (yes always) open. Look at the Excel VBA desktop above, on the left side it shows TWO workbooks open, Hello_World_Test.xml and PERSONAL.XLS. One thing that has been relatively consistent is that when SAS uses the X command both workbooks will be open ( Hello_World_Test.xml and PERSONAL.XLS ) when the WORKBOOK_OPEN macro runs. This will allow the Macro1 code to execute. However, a double click on an Excel file icon, will usually only have one workbook open, then the Excel macro WORKBOOK_OPEN runs (that workbook us the PERSONAL.XLS macro).so we will assume that for the purposes of this paper all calls to Excel come from SAS and the X command. A STRONGER WORKBOOK_OPEN EXCEL MACRO Since we do not want every Excel workbook to have World in cell B2 the next step is to enhance the Excel macro WORKBOOK_OPEN so that it is more selective when it runs. So, we will take out the message boxes and add in control language to interpret information sent from SAS. By sending commands to Excel from SAS we can control what actions our Excel macro takes when it gets control of the system. Let us upgrade our SAS code first. * Total sales by region, and put it into a file; Proc summary data= SASHELP.Shoes nway; weight sales; var sales; output out=sales(where=(_stat_ = "SUMWGT")); by region; 5
6 run; *********************************************************; ** start ODS and name the output xml file **; *********************************************************; %let xml_file = C:\Excel_book\Excel_Data\Pie_Chart_test.xml; ods tagsets.excelxp file="&xml_file." ; *************************************************************; * Set up the ExcelXP options then run the Proc Print routine ; **************************************************************; ods tagsets.excelxp options(sheet_name='sales') Style=Minimal ; ******************************************************; ** Run Proc print using labels and noobs. **; ******************************************************; proc print data = sales noobs label; label region = "?graph_1?region"; * add control value for Excel to use here; var region sales ; run; ******************************************************; ** Clean up and Call Excel to open the new *.XML file*; ******************************************************; ods tagsets.excelxp close; options noxwait noxsync; * run Excel 2003; x "'C:\Program Files\Microsoft Office\Office11\excel.exe' &xml_file"; run; When we run this SAS code and send the data to Excel with our new WORKBOOK_OPEN it looks something like this: Figure 9. SAS output displayed in Excel, and first message box from Excel. 6
7 Now the new WORKBOOK_OPEN macro Our little message box is doing its job, as you can see it has told us that the currently open workbook is the PERSONAL.XLS workbook. The first and second clicks on OK gives the following message boxes. (cutting and pasting the code may not convert the quote marks correctly, so just retype them). Figures 10 and 11. Testing the PERSONAL.XLS workbook macro, after clicking OK to continue. Also notice that cell B2 nowl contains the word World which appeared after our macro1 code ran. Figure 12. Excel workbook after running SAS to open the Workbook and run the Macro1 code. Note the word World in cell B2. 7
8 Since we do not want to change cell B2 to the word World for every workbook we create, lets change the macro code for the WORKBOOK_OPEN macro. Remember the control information we inserted into the label of the Region variable? Well look at cell A1. The code in red below is going to now use that information to Command Excel to do what we want it to do now. (note the comments below might not Cut-n-Paste well). Private Sub Workbook_Open() Dim my_count As Integer, my_book As String, my_sheet As String my_count = Workbooks.Count For i = 1 To my_count my_book = Workbooks(i).Name my_sheet = Workbooks(i).Sheets(1).Name If my_book <> "PERSONAL>XLS" Then my_cell_a1 = Workbooks(i).Sheets(1).Range("A1").Value my_cell_size = Len(my_cell_a1) ''''''''''''''''''''''''''''''''''''''''''''''''' ' look for a second? from right side of value ''''''''''''''''''''''''''''''''''''''''''''''''' my_flag_size = InStrRev(my_cell_a1, "?") - 1 ''''''''''''''''''''''''''''''''''''''''''''''' ' if my_flag_size is greater than 1 then two? were found ' this is a special processing workbook ' so get the info and process the workbook ' else ignore and return control to Excel and the user ''''''''''''''''''''''''''''''''''''''''''''''' If my_flag_size > 1 Then ' get left? character and data between the two? s my_report = Left(my_cell_a1, my_flag_size) ' remove the left? my_data_size = Len(my_report) - 1 my_report = Right(my_report, my_data_size) ' remove control characters from Cell A1 value ' and store in cell A1 Workbooks(i).Sheets(1).Range("A1").Value = _ Right(my_cell_a1, (my_cell_size - (my_flag_size + 1))) End If End If Next End Sub ' add new cases to process new reports Select Case my_report Case "graph_1" Call Module1.my_graph_1(my_sheet) Case Else End Select 8
9 Now the new MODULE1.MY_GRAPH_1 macro Sub my_graph_1(my_sheet As String) ' ' my_graph_1 Macro ' ' This macro generates a pie chart with minimal number of extras ' The code is reproduced here exactly as it was produced by the ' Excel Macro Record feature ' except the name values "my_sheet" and "Chart 1" were adjusted ' Range("A1:B11").Select Charts.Add ActiveChart.ChartType = xl3dpie ActiveChart.SetSourceData Source:=Sheets(my_sheet).Range("A1:B11"), PlotBy _ :=xlcolumns ActiveChart.Location Where:=xlLocationAsObject, Name:=my_sheet With ActiveChart.HasTitle = True.ChartTitle.Characters.Text = "My_new_Pie_chart" End With ActiveChart.HasLegend = True ActiveChart.Legend.Select Selection.Position = xlbottom ActiveChart.Legend.Select Selection.AutoScaleFont = True With Selection.Font.Name = "Times New Roman".FontStyle = "Regular".Size = 11.Strikethrough = False.Superscript = False.Subscript = False.OutlineFont = False.Shadow = False.Underline = xlunderlinestylenone.colorindex = xlautomatic.background = xlautomatic End With Selection.Position = xlleft ActiveChart.ChartArea.Select With ActiveChart.Elevation = 35.Perspective = 30.Rotation = 0.RightAngleAxes = False.HeightPercent = 100 End With ' changed "Chart 1" to the numeric location of the chart - not the chart name ActiveSheet.Shapes(1).ScaleHeight 1.25, msofalse, msoscalefromtopleft ActiveSheet.Shapes(1).ScaleHeight 1.5, msofalse, msoscalefrombottomright 'ActiveSheet.Shapes("Chart 1").ScaleHeight 1.25, msofalse, msoscalefromtopleft 'ActiveSheet.Shapes("Chart 1").ScaleHeight 1.5, msofalse, msoscalefrombottomright Application.CommandBars("Task Pane").Visible = False End Sub 9
10 Below is a simple graph generated by the macro my_graph_1 when SAS issued a X command to start Excel. The SAS code on the next line selected the routine to execute in Excel. label region = "?graph_1?region"; * add control value for Excel to use here; Figure 13. Simple graph generated by Excel when SAS issued the X command. The source data for the graph is hidden behind the graph in Column B. let s see what will happen if we change the SAS label statement to something different Like the following: label region = "?graph_2?region"; * add control value for Excel to use here; 10
11 Figure 14. Results when LABEL REGION = "?GRAPH_2?REGION". (Note the control information was removed) Figure 14 looks just like a regular Excel Spreadsheet, no graph, no funny characters in cell A1 and in fact if we had changed the label to REGION = "?GRAPH_1 - REGION" we could have kept everything. Figure 15. Sample with no control string in cell A1. NOTE Cell A1 did not have two question marks in the cell and therefore our Workbook_Open macro ignored the contents and did not modify the cell. 11
12 CONCLUSION This paper, as a proof of concept paper, has shown that it is possible with relatively simple tools to extend the reach to the programmers ability to automate output. It is this author s hope that this process can be an insight into the possibilities that are available. Of course any Excel code can be accessed using this method, and this truly means any code. Excel uses Visual Basic for Applications code and has access to routines that can output any file format that Excel can write. The user coded macros can also include code to read files, run Microsoft Word or Microsoft Access applications. With proper control structures the formatting of multiple page workbooks can be automated, Page titles can be added, column formatting, highlighting can be done. And of course anyone can make a better graph. In the body of the paper a comment was made about the fact that Excel was Always going to open the PERSONAL.XLS /.XLSB workbook. Well that is only true if the workbooks are left in the XLSTART directory. To be able to say Hello World is a very powerful thing, because now the door is open to anything that BOTH SAS and EXCEL can do together. CONTACT INFORMATION Your comments and questions are valued and encouraged. Contact the author at: Name William E Benjamin Jr Enterprise Owl Computer Consultancy, LLC Work Phone: Fax: [email protected] 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. Other brand and product names are trademarks of their respective companies. 12
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
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.
Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS. Vincent DelGobbo, SAS Institute Inc.
Paper HOW-071 Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT Transferring SAS data and analytical results
It s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks.
Pharmasug 2014 - paper CC-47 It s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks. ABSTRACT William E Benjamin Jr, Owl Computer
Excel 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
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
Migrating 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
William E Benjamin Jr, Owl Computer Consultancy, LLC
So, You ve Got Data Enterprise Wide (SAS, ACCESS, EXCEL, MySQL, Oracle, and Others); Well, Let SAS Enterprise Guide Software Point-n-Click Your Way to Using It. William E Benjamin Jr, Owl Computer Consultancy,
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
Excel Reporting with 1010data
Excel Reporting with 1010data (212) 405.1010 [email protected] Follow: @1010data www.1010data.com Excel Reporting with 1010data Contents 2 Contents Overview... 3 Start with a 1010data query... 5 Running
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
ACCESS 2007. Importing and Exporting Data Files. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818) 677-1700
Information Technology MS Access 2007 Users Guide ACCESS 2007 Importing and Exporting Data Files IT Training & Development (818) 677-1700 [email protected] TABLE OF CONTENTS Introduction... 1 Import Excel
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
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
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
Report Customization Using PROC REPORT Procedure Shruthi Amruthnath, EPITEC, INC., Southfield, MI
Paper SA12-2014 Report Customization Using PROC REPORT Procedure Shruthi Amruthnath, EPITEC, INC., Southfield, MI ABSTRACT SAS offers powerful report writing tools to generate customized reports. PROC
Word 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
Financial Data Access with SQL, Excel & VBA
Computational Finance and Risk Management Financial Data Access with SQL, Excel & VBA Guy Yollin Instructor, Applied Mathematics University of Washington Guy Yollin (Copyright 2012) Data Access with SQL,
Importing 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
3 What s New in Excel 2007
3 What s New in Excel 2007 3.1 Overview of Excel 2007 Microsoft Office Excel 2007 is a spreadsheet program that enables you to enter, manipulate, calculate, and chart data. An Excel file is referred to
Excel macros made easy
IT Training Excel macros made easy Jane Barrett, IT Training & Engagement Team Information System Services Version 1.1 Scope Learning outcomes Understand the concept of what a macro is and what it does.
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.
Task Force on Technology / EXCEL
Task Force on Technology EXCEL Basic terminology Spreadsheet A spreadsheet is an electronic document that stores various types of data. There are vertical columns and horizontal rows. A cell is where the
4. Are you satisfied with the outcome? Why or why not? Offer a solution and make a new graph (Figure 2).
Assignment 1 Introduction to Excel and SPSS Graphing and Data Manipulation Part 1 Graphing (worksheet 1) 1. Download the BHM excel data file from the course website. 2. Save it to the desktop as an excel
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
Create a New Database in Access 2010
Create a New Database in Access 2010 Table of Contents OVERVIEW... 1 CREATING A DATABASE... 1 ADDING TO A DATABASE... 2 CREATE A DATABASE BY USING A TEMPLATE... 2 CREATE A DATABASE WITHOUT USING A TEMPLATE...
EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002
EXCEL PIVOT TABLE David Geffen School of Medicine, UCLA Dean s Office Oct 2002 Table of Contents Part I Creating a Pivot Table Excel Database......3 What is a Pivot Table...... 3 Creating Pivot Tables
Working together with Word, Excel and PowerPoint
Working together with Word, Excel and PowerPoint Have you ever wanted your Word document to include data from an Excel spreadsheet, or diagrams you ve created in PowerPoint? This note shows you how to
Hummingbird 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.
1. Linking among several worksheets in the same workbook 2. Linking data from one workbook to another
Microsoft Excel 2003: Part V Advanced Custom Tools Windows XP (I) Linking Data from Several Worksheets and Workbooks In Excel Level III, we have learned and seen examples of how to link data from one worksheet
Code::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
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
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
Advanced 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
Microsoft Word 2010 Prepared by Computing Services at the Eastman School of Music July 2010
Microsoft Word 2010 Prepared by Computing Services at the Eastman School of Music July 2010 Contents Microsoft Office Interface... 4 File Ribbon Tab... 5 Microsoft Office Quick Access Toolbar... 6 Appearance
STC: Descriptive Statistics in Excel 2013. Running Descriptive and Correlational Analysis in Excel 2013
Running Descriptive and Correlational Analysis in Excel 2013 Tips for coding a survey Use short phrases for your data table headers to keep your worksheet neat, you can always edit the labels in tables
SAP BusinessObjects Business Intelligence (BI) platform Document Version: 4.1, Support Package 3-2014-04-03. Report Conversion Tool Guide
SAP BusinessObjects Business Intelligence (BI) platform Document Version: 4.1, Support Package 3-2014-04-03 Table of Contents 1 Report Conversion Tool Overview.... 4 1.1 What is the Report Conversion Tool?...4
Server & Workstation Installation of Client Profiles for Windows
C ase Manag e m e n t by C l i e n t P rofiles Server & Workstation Installation of Client Profiles for Windows T E C H N O L O G Y F O R T H E B U S I N E S S O F L A W General Notes to Prepare for Installing
How to Use Excel for Law Firm Billing
How to Use Excel for Law Firm Billing FEATURED FACULTY: Staci Warne, Microsoft Certified Trainer (MCT) (801) 463-1213 [email protected] Staci Warne, Microsoft Certified Trainer (MCT) Staci Warne
Differences in Use between Calc and Excel
Differences in Use between Calc and Excel Title: Differences in Use between Calc and Excel: Version: 1.0 First edition: October 2004 Contents Overview... 3 Copyright and trademark information... 3 Feedback...3
Hosting Users Guide 2011
Hosting Users Guide 2011 eofficemgr technology support for small business Celebrating a decade of providing innovative cloud computing services to small business. Table of Contents Overview... 3 Configure
ithenticate User Manual
ithenticate User Manual Updated November 20, 2009 Contents Introduction 4 New Users 4 Logging In 4 Resetting Your Password 5 Changing Your Password or Username 6 The ithenticate Account Homepage 7 Main
EzyScript User Manual
Version 1.4 Z Option 417 Oakbend Suite 200 Lewisville, Texas 75067 www.zoption.com (877) 653-7215 (972) 315-8800 fax: (972) 315-8804 EzyScript User Manual SAP Transaction Scripting & Table Querying Tool
Tips and Tricks for Printing an Excel Spreadsheet
Tips and Tricks for Printing an Excel Spreadsheet Microsoft Excel provides the following ways to view your spreadsheet and adjust how it will look printed: Normal view This is the default view and is best
Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102
Intellect Platform - The Workflow Engine Basic HelpDesk Troubleticket System - A102 Interneer, Inc. Updated on 2/22/2012 Created by Erika Keresztyen Fahey 2 Workflow - A102 - Basic HelpDesk Ticketing System
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
Intro to Mail Merge. Contents: David Diskin for the University of the Pacific Center for Professional and Continuing Education. Word Mail Merge Wizard
Intro to Mail Merge David Diskin for the University of the Pacific Center for Professional and Continuing Education Contents: Word Mail Merge Wizard Mail Merge Possibilities Labels Form Letters Directory
As in the example above, a Budget created on the computer typically has:
Activity Card Create a How will you ensure that your expenses do not exceed what you planned to invest or spend? You can create a budget to plan your expenditures and earnings. As a family, you can plan
Microsoft 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,
Microsoft Office 2010: Access 2010, Excel 2010, Lync 2010 learning assets
Microsoft Office 2010: Access 2010, Excel 2010, Lync 2010 learning assets Simply type the id# in the search mechanism of ACS Skills Online to access the learning assets outlined below. Titles Microsoft
SPSS: Getting Started. For Windows
For Windows Updated: August 2012 Table of Contents Section 1: Overview... 3 1.1 Introduction to SPSS Tutorials... 3 1.2 Introduction to SPSS... 3 1.3 Overview of SPSS for Windows... 3 Section 2: Entering
Net Protector Admin Console
Net Protector Admin Console USER MANUAL www.indiaantivirus.com -1. Introduction Admin Console is a Centralized Anti-Virus Control and Management. It helps the administrators of small and large office networks
Tips 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,
Reporting Tips and Tricks
Chapter 16 Reporting Tips and Tricks Intuit Statement Writer New for 2009! Company Snapshot New for 2009! Using the Report Center Reporting Preferences Modifying Reports Report Groups Memorized Reports
1-Step Appraisals Jewelry Appraisal Software
User Guide for 1-Step Appraisals Jewelry Appraisal Software Version 5.02 Page Table of Contents Installing 1-Step Appraisals... Page 3 Getting Started... Page 4 Upgrading from a Previous Version... Page
ithenticate User Manual
ithenticate User Manual Version: 2.0.2 Updated March 16, 2012 Contents Introduction 4 New Users 4 Logging In 4 Resetting Your Password 5 Changing Your Password or Username 6 The ithenticate Account Homepage
Intro to Excel spreadsheets
Intro to Excel spreadsheets What are the objectives of this document? The objectives of document are: 1. Familiarize you with what a spreadsheet is, how it works, and what its capabilities are; 2. Using
SECTION 5: Finalizing Your Workbook
SECTION 5: Finalizing Your Workbook In this section you will learn how to: Protect a workbook Protect a sheet Protect Excel files Unlock cells Use the document inspector Use the compatibility checker Mark
WHAT S NEW IN MS EXCEL 2013
Contents Excel... 1 Filling empty cells using Flash Fill... 1 Filtering records using a Timeline... 2 Previewing with Quick Analysis... 4 Using Chart Advisor recommendations... 5 Finding errors and issues
How To Create A Report In Excel
Table of Contents Overview... 1 Smartlists with Export Solutions... 2 Smartlist Builder/Excel Reporter... 3 Analysis Cubes... 4 MS Query... 7 SQL Reporting Services... 10 MS Dynamics GP Report Templates...
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
Introduction 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
paragraph(s). The bottom mark is for all following lines in that paragraph. The rectangle below the marks moves both marks at the same time.
MS Word, Part 3 & 4 Office 2007 Line Numbering Sometimes it can be helpful to have every line numbered. That way, if someone else is reviewing your document they can tell you exactly which lines they have
OnDemand Version 1.7. Installation Manual and User s Guide. AST Technology. Sophienstrasse 4 32051 Herford Germany
OnDemand Version 1.7 Installation Manual and User s Guide AST Technology Sophienstrasse 4 32051 Herford Germany Contents Overview of OnDemand Software... 1 System and Software Requirements... 1 CVe Monitor
Mail merging emails: Word, Excel and Outlook
Mail merging emails: Word, Excel and Outlook TRWD Software Used Word 2010 Excel 2010 Outlook 2010 Windows XP Revision Information Version Date Author Changes made 1.0 July 2012 Pamela Stanworth Created
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
Printer Connection Manager
IT DIRECT Printer Connection Manager Information Technology Direct Limited PO Box 33-1406 Auckland NZ Table of Contents OVERVIEW...2 SETUP INSTRUCTIONS:...3 INSTALLATION...5 Install with New Settings.xml
SAS to Excel with ExcelXP Tagset Mahipal Vanam, Kiran Karidi and Sridhar Dodlapati
PharmaSUG2010 - Paper CC22 SAS to Excel with ExcelXP Tagset Mahipal Vanam, Kiran Karidi and Sridhar Dodlapati ABSTRACT Creating XML based excel files is a very convenient and powerful feature of SAS 9
Using SAS DDE to Control Excel
Using SAS DDE to Control Excel George Zhu Alberta Health, Government of Alberta Edmonton SAS User Group Meeting April 15, 2015 1 DDE: Dynamic Data Exchange 2 Examples and Demonstration Demo 1: Import password
Introduction to MS WINDOWS XP
Introduction to MS WINDOWS XP Mouse Desktop Windows Applications File handling Introduction to MS Windows XP 2 Table of Contents What is Windows XP?... 3 Windows within Windows... 3 The Desktop... 3 The
How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com
Sage 500 ERP Intelligence Reporting Getting Started Guide 27.11.2012 Table of Contents 1.0 Getting started 3 2.0 Managing your reports 10 3.0 Defining report properties 18 4.0 Creating a simple PivotTable
PharmaSUG 2015 - Paper QT26
PharmaSUG 2015 - Paper QT26 Keyboard Macros - The most magical tool you may have never heard of - You will never program the same again (It's that amazing!) Steven Black, Agility-Clinical Inc., Carlsbad,
VBA PROGRAMMING FOR EXCEL FREDRIC B. GLUCK 608-698-6304
VBA PROGRAMMING FOR EXCEL FREDRIC B. GLUCK [email protected] [email protected] 608-698-6304 Text VBA and Macros: Microsoft Excel 2010 Bill Jelen / Tracy Syrstad ISBN 978-07897-4314-5 Class Website
Macros in Word & Excel
Macros in Word & Excel Description: If you perform a task repeatedly in Word or Excel, you can automate the task by using a macro. A macro is a series of steps that is grouped together as a single step
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,
Importing TSM Data into Microsoft Excel using Microsoft Query
Importing TSM Data into Microsoft Excel using Microsoft Query An alternate way to report on TSM information is to use Microsoft Excel s import facilities using Microsoft Query to selectively import the
ODBC Driver Version 4 Manual
ODBC Driver Version 4 Manual Revision Date 12/05/2007 HanDBase is a Registered Trademark of DDH Software, Inc. All information contained in this manual and all software applications mentioned in this manual
INTEGRATING MICROSOFT DYNAMICS CRM WITH SIMEGO DS3
INTEGRATING MICROSOFT DYNAMICS CRM WITH SIMEGO DS3 Often the most compelling way to introduce yourself to a software product is to try deliver value as soon as possible. Simego DS3 is designed to get you
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.
EXCEL Tutorial: How to use EXCEL for Graphs and Calculations. Excel is powerful tool and can make your life easier if you are proficient in using it. You will need to use Excel to complete most of your
Overview of sharing and collaborating on Excel data
Overview of sharing and collaborating on Excel data There are many ways to share, analyze, and communicate business information and data in Microsoft Excel. The way that you choose to share data depends
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.
Excel for Data Cleaning and Management
Excel for Data Cleaning and Management Background Information This workshop is designed to teach skills in Excel that will help you manage data from large imports and save them for further use in SPSS
Jump Start: Aspen Simulation Workbook in Aspen HYSYS V8
Jump Start: Aspen Simulation Workbook in Aspen HYSYS V8 A Brief Tutorial (and supplement to training and online documentation) David Tremblay,Product Management Director, Aspen Technology, Inc. Vidya Mantrala,
Rapid Assessment Key User Manual
Rapid Assessment Key User Manual Table of Contents Getting Started with the Rapid Assessment Key... 1 Welcome to the Print Audit Rapid Assessment Key...1 System Requirements...1 Network Requirements...1
Server & Workstation Installation of Client Profiles for Windows (WAN Edition)
C ase Manag e m e n t by C l i e n t P rofiles Server & Workstation Installation of Client Profiles for Windows (WAN Edition) T E C H N O L O G Y F O R T H E B U S I N E S S O F L A W Important Note on
Switching from PC SAS to SAS Enterprise Guide Zhengxin (Cindy) Yang, inventiv Health Clinical, Princeton, NJ
PharmaSUG 2014 PO10 Switching from PC SAS to SAS Enterprise Guide Zhengxin (Cindy) Yang, inventiv Health Clinical, Princeton, NJ ABSTRACT As more and more organizations adapt to the SAS Enterprise Guide,
Using FileMaker Pro with Microsoft Office
Hands-on Guide Using FileMaker Pro with Microsoft Office Making FileMaker Pro Your Office Companion page 1 Table of Contents Introduction... 3 Before You Get Started... 4 Sharing Data between FileMaker
ABSTRACT INTRODUCTION CLINICAL PROJECT TRACKER OF SAS TASKS. Paper PH-02-2015
Paper PH-02-2015 Project Management of SAS Tasks - Excel Dashboard without Using Any Program Kalaivani Raghunathan, Quartesian Clinical Research Pvt. Ltd, Bangalore, India ABSTRACT Have you ever imagined
Teradata SQL Assistant Version 13.0 (.Net) Enhancements and Differences. Mike Dempsey
Teradata SQL Assistant Version 13.0 (.Net) Enhancements and Differences by Mike Dempsey Overview SQL Assistant 13.0 is an entirely new application that has been re-designed from the ground up. It has been
Hypercosm. Studio. www.hypercosm.com
Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks
EXCEL VBA ( MACRO PROGRAMMING ) LEVEL 1 21-22 SEPTEMBER 2015 9.00AM-5.00PM MENARA PJ@AMCORP PETALING JAYA
EXCEL VBA ( MACRO PROGRAMMING ) LEVEL 1 21-22 SEPTEMBER 2015 9.00AM-5.00PM MENARA PJ@AMCORP PETALING JAYA What is a Macro? While VBA VBA, which stands for Visual Basic for Applications, is a programming
ENHANCE. The Style Sheet Tool for Microsoft Dynamics NAV. Microsoft Dynamics NAV 5.0. User s Guide
ENHANCE Microsoft Dynamics NAV 5.0 The Style Sheet Tool for Microsoft Dynamics NAV User s Guide The Style Sheet feature in Microsoft Dynamics TM NAV 5.0 has been enhanced with a new tool that allows you
Search help. More on Office.com: images templates
Page 1 of 14 Access 2010 Home > Access 2010 Help and How-to > Getting started Search help More on Office.com: images templates Access 2010: database tasks Here are some basic database tasks that you can
