OpenOffice.org Basic 1 -

Size: px
Start display at page:

Download "OpenOffice.org Basic 1 -"

Transcription

1 OpenOffice.org Basic (VBA) 1.1 Sub Function Excel VBA Sub Function Excel Sub CreateUserform() *********************** *********************** On Error Resume Next.Show Private Sub CommandButton1_Click() If RefEdit1.Value = "" Then MsgBox " " RefEdit1.SetFocus Else data = RefEdit1.Value *********************************** 1

2 *********************************** Dim cnt As Integer cnt = Worksheets.Count MsgBox data Worksheets.Add After:=Worksheets(cnt), Count:=1 ActiveSheet.Name = " " Range("!A1").Value = " " Call Rinterface.RRun("nrowname<-names(inputdata[,-1])") Call Rinterface.RRun("mnrowname<-matrix(nrowname,nrow=1)") Call Rinterface.GetArray("mnrowname", Range("!B1")) If CheckBox1.Value = True Then Call (data) If CheckBox2.Value = True Then Call (data) If CheckBox3.Value = True Then Call (data) If CheckBox4.Value = True Then Call (data) Unload Private Sub CommandButton2_Click() On Error Resume Next Unload Private Sub UserForm_Click() Function (data) 2 / 5

3 Call Rinterface.RRun("inputdataMean<-apply(inputdata[,-1],2,mean)") Call Rinterface.RRun("vinputdataMean<-as.vector(inputdataMean)") Call Rinterface.RRun("mvinputdataMean<-matrix(vinputdataMean,nrow=1)") Range("!A2").Value = " " Call Rinterface.GetArray("mvinputdataMean", Range("!B2")) Function (data) Call Rinterface.RRun("inputdataMedian<-apply(inputdata[,-1],2,median)") Call Rinterface.RRun("vinputdataMedian<-as.vector(inputdataMedian)") Range("!A3").Value = " " Call Rinterface.RRun("mvinputdataMedian<-matrix(vinputdataMedian,nrow=1)") Call Rinterface.GetArray("mvinputdataMedian", Range("!B3")) Function (data) Call Rinterface.RRun("inputdataMax<-apply(inputdata[,-1],2,max)") Call Rinterface.RRun("vinputdataMax<-as.vector(inputdataMax)") Call Rinterface.RRun("mvinputdataMax<-matrix(vinputdataMax,nrow=1)") Call Rinterface.RRun("inputdataMin<-apply(inputdata[,-1],2,min)") Call Rinterface.RRun("vinputdataMin<-as.vector(inputdataMin)") Call Rinterface.RRun("mvinputdataMin<-matrix(vinputdataMin,nrow=1)") Range("!A4").Value = " " Call Rinterface.GetArray("mvinputdataMax", Range("!B4")) Range("!A5").Value = " " Call Rinterface.GetArray("mvinputdataMin", Range("!B5")) Function (data) Call Rinterface.RRun("inputdataVar<-apply(inputdata[,-1],2,var)") Call Rinterface.RRun("vinputdataVar<-as.vector(inputdataVar)") Call Rinterface.RRun("mvinputdataVar<-matrix(vinputdataVar,nrow=1)") Call Rinterface.RRun("inputdataSd<-apply(inputdata[,-1],2,sd)") Call Rinterface.RRun("vinputdataSd<-as.vector(inputdataSd)") Call Rinterface.RRun("mvinputdataSd<-matrix(vinputdataSd,nrow=1)") 3 / 5

4 Range("!A6").Value = " " Call Rinterface.GetArray("mvinputdataVar", Range("!B6")) Range("!A7").Value = " " Call Rinterface.GetArray("mvinputdataSd", Range("!B7")) 2 OpenOffice.org 2.1 Sub LoadLibrary LoadLibrary CreateUnoDialog CreateUnoDialog DialogLibraries.. Execute Execute EndExecute EndExecute GetControl GetControl, Value Text Value Text ThisComponent ThisComponent GetCellByPosition GetCellByPosition A1 (0,0) XY Formula Formula String Value Formula 4 / 5

5 GetType GetType com.sun.star.table.cellcontenttype.empty( ) VALUE( ) TEXT( ) FORMULA( ) [1] A Excel VBA (2004) [2] VBA (2005) [3] OpenOffice.org2.0 ver0.0.1 ( Wiki OOo Basic ) 5 / 5

How-To Guide. SigCard1 (With Microsoft Access) Demo. Copyright Topaz Systems Inc. All rights reserved.

How-To Guide. SigCard1 (With Microsoft Access) Demo. Copyright Topaz Systems Inc. All rights reserved. How-To Guide SigCard1 (With Microsoft Access) Demo Copyright Topaz Systems Inc. All rights reserved. For Topaz Systems, Inc. trademarks and patents, visit www.topazsystems.com/legal. Table of Contents

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

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

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan

DATA 301 Introduction to Data Analytics Microsoft Excel VBA. Dr. Ramon Lawrence University of British Columbia Okanagan DATA 301 Introduction to Data Analytics Microsoft Excel VBA Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca DATA 301: Data Analytics (2) Why Microsoft Excel Visual Basic

More information

Name = array(x,y,...,z) the indexing starts at zero, i.e. Name(0) = x. Programming Excel/VBA Part II (A.Fring)

Name = array(x,y,...,z) the indexing starts at zero, i.e. Name(0) = x. Programming Excel/VBA Part II (A.Fring) Arrays/Array functions Arrays are VBA variables which can store more than one item. the items held in an array are all of the same variable type one refers to an item by the array name and a number syntax:

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

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

Building a Marketing Dashboard using Excel and SAS. Tim Walters InfoTech Marketing Building a Marketing Dashboard using Excel and SAS Tim Walters InfoTech Marketing 1 Desired Outcome Dashboard Sheet and 6 Results Sheets 2 Client Environmental Considerations Client company has software

More information

Program to solve first and second degree equations

Program to solve first and second degree equations Fundamentals of Computer Science 010-011 Laboratory 4 Conditional structures () Objectives: Design the flowchart of programs with conditional sentences Implement VB programs with conditional sentences

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

Centre for Staff & Educational Development (CSED) Discover your potential. Excel. Introduction to VBA

Centre for Staff & Educational Development (CSED) Discover your potential. Excel. Introduction to VBA Centre for Staff & Educational Development (CSED) Discover your potential Introduction to Excel VBA Introduction to Excel VBA Version 1.01 Dave Knock (CSED) September 2013 This document is produced by

More information

Connecting to an Excel Workbook with ADO

Connecting to an Excel Workbook with ADO Connecting to an Excel Workbook with ADO Using the Microsoft Jet provider ADO can connect to an Excel workbook. Data can be read from the workbook and written to it although, unlike writing data to multi-user

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

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

e-mail: mtoledo@dgrfsa.gov.ar Ejercicio 1 Dim saludo As String * 10

e-mail: mtoledo@dgrfsa.gov.ar Ejercicio 1 Dim saludo As String * 10 Ejercicio 1 Dim saludo As String * 10 Private Sub Command1_Click() Dim Nombre As String * 10 Nombre = "Joaquim" saludo = "HOLA" Print saludo; y; Nombre Private Sub Command2_Click() saludo = "ADIOS" Print

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

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

Introducing VBA Message Boxes

Introducing VBA Message Boxes Introducing VBA Message Boxes It's All About Communication When you build a tool for someone else to use it is important that that person, "the user", knows what's going on and feels confident using it.

More information

How To Write A Macro In Libreoffice 2.2.2 (Free) With Libre Office 2.3.2 And Libreos 2.4.2 With A Microspat

How To Write A Macro In Libreoffice 2.2.2 (Free) With Libre Office 2.3.2 And Libreos 2.4.2 With A Microspat Getting Started Guide Chapter 13 Getting Started with Macros Using the Macro Recorder and Beyond Copyright This document is Copyright 2010 2012 by its contributors as listed below. You may distribute it

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

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

Hands-on Exercise 1: VBA Coding Basics

Hands-on Exercise 1: VBA Coding Basics Hands-on Exercise 1: VBA Coding Basics This exercise introduces the basics of coding in Access VBA. The concepts you will practise in this exercise are essential for successfully completing subsequent

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

Many applications consist of one or more classes, each containing one or more methods. If you become part of a development team in industry, you may

Many applications consist of one or more classes, each containing one or more methods. If you become part of a development team in industry, you may Chapter 1 Many applications consist of one or more classes, each containing one or more methods. If you become part of a development team in industry, you may work on applications that contain hundreds,

More information

Creating Applications using Excel Macros/Visual Basic for Applications (VBA)

Creating Applications using Excel Macros/Visual Basic for Applications (VBA) Creating Applications using Excel Macros/Visual Basic for Applications (VBA) A macro is a sequence of instructions that tells Microsoft Excel what to do. These macros allow you to automate everyday tasks

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

ClientAce WPF Project Example

ClientAce WPF Project Example Technical Note ClientAce WPF Project Example 1. Introduction Traditional Windows forms are being replaced by Windows Presentation Foundation 1 (WPF) forms. WPF forms are fundamentally different and designed

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

Unleashing Hidden Powers of Inventor with the API Part 2 of 4: Using iproperties with Inventor VBA

Unleashing Hidden Powers of Inventor with the API Part 2 of 4: Using iproperties with Inventor VBA Unleashing Hidden Powers of Inventor with the API Part 2 of 4: Brian Ekins Autodesk, Inc. The second article in this four-part series provides an introduction to the basic concepts you need to understand

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

Add an Audit Trail to your Access Database

Add 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 information

DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER. The purpose of this tutorial is to develop a java web service using a top-down approach.

DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER. The purpose of this tutorial is to develop a java web service using a top-down approach. DEVELOPING CONTRACT - DRIVEN WEB SERVICES USING JDEVELOPER Purpose: The purpose of this tutorial is to develop a java web service using a top-down approach. Topics: This tutorial covers the following topics:

More information

PULSE Automation programming in Visual Basic. From BK training lectures arranged by Jiří Tůma & Radovan Zadražil

PULSE Automation programming in Visual Basic. From BK training lectures arranged by Jiří Tůma & Radovan Zadražil PULSE Automation programming in Visual Basic From BK training lectures arranged by Jiří Tůma & Radovan Zadražil OLE Automation, general principles Bruno S. Larsen PULSE Software Development Agenda Overview

More information

Moving from C++ to VBA

Moving from C++ to VBA Introduction College of Engineering and Computer Science Mechanical Engineering Department Mechanical Engineering 309 Numerical Analysis of Engineering Systems Fall 2014 Number: 15237 Instructor: Larry

More information

How to connect to SAP R/3 and call BAPI from MS Excel VBA

How to connect to SAP R/3 and call BAPI from MS Excel VBA How to connect to SAP R/3 and call BAPI from MS Excel VBA Summary This paper describes how to extract data from R/3 and present the results in MS Excel. The paper demonstrates by means of a code sample

More information

Excel & Visual Basic for Applications (VBA)

Excel & Visual Basic for Applications (VBA) Excel & Visual Basic for Applications (VBA) user interfaces o on-sheet buttons o toolbar buttons and custom toolbars o custom menus o InputBox and MsgBox functions o userforms 1 On-Sheet Buttons 1) use

More information

OpenOffice.org 3.2 BASIC Guide

OpenOffice.org 3.2 BASIC Guide OpenOffice.org 3.2 BASIC Guide Copyright The contents of this document are subject to the Public Documentation License. You may only use this document if you comply with the terms of the license. See:

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

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

TS2Mascot. Introduction. System Requirements. Installation. Interactive Use

TS2Mascot. Introduction. System Requirements. Installation. Interactive Use TS2Mascot Introduction TS2Mascot is a simple utility to export peak lists from an Applied Biosystems 4000 Series database. The peak list is saved as a Mascot Generic Format (MGF) file. This can be a file

More information

( ) FACTORING. x In this polynomial the only variable in common to all is x.

( ) FACTORING. x In this polynomial the only variable in common to all is x. FACTORING Factoring is similar to breaking up a number into its multiples. For example, 10=5*. The multiples are 5 and. In a polynomial it is the same way, however, the procedure is somewhat more complicated

More information

MAPINFO GRID ENGINE. MapBasic scripts. MIGRID.DLL functions. using. Jacques Paris

MAPINFO GRID ENGINE. MapBasic scripts. MIGRID.DLL functions. using. Jacques Paris MAPINFO GRID ENGINE MapBasic scripts using MIGRID.DLL functions Jacques Paris September 2001 This document contains 4 MapBasic code listings showing how to use calls to the MiGrid library. These examples

More information

Simple Dialog Box Management Handout.pdf. Detailed Instructions

Simple Dialog Box Management Handout.pdf. Detailed Instructions Simple Dialog Box Management Detailed Instructions One- hour presentation first presented at Xojo Developer Conference 2014 Audience level: Beginning to Intermediate Demonstrated Xojo development: Xojo

More information

Microsoft Dynamics GP 2013. VBA Developer s Guide

Microsoft Dynamics GP 2013. VBA Developer s Guide Microsoft Dynamics GP 2013 VBA Developer s Guide Copyright Copyright 2012 Microsoft Corporation. All rights reserved. Limitation of liability This document is provided as-is. Information and views expressed

More information

Visual Basic Programming for Excel

Visual Basic Programming for Excel Visual Basic Programming for Excel Zhenming Su, Ph.D. Institute for Fisheries Research 212 Museums Annex Building 1109 N. University Ave. Ann Arbor, MI 48109-1084 USA Phone: (734) 663-3554 Ext. 123 Fax:

More information

Form Tasarımı - 5. Veri Tabanı Veri tabanı ismi; m Tablo ismi; mt

Form Tasarımı - 5. Veri Tabanı Veri tabanı ismi; m Tablo ismi; mt Form Tasarımı - 5 Veri Tabanı Veri tabanı ismi; m Tablo ismi; mt Kodlar Imports System.Data Imports System.Data.OleDb Imports System.Xml Imports System.IO Public Class Form5 Dim yeni As OleDbConnection

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

The FTS Interactive Trader lets you create program trading strategies, as follows:

The FTS Interactive Trader lets you create program trading strategies, as follows: Program Trading The FTS Interactive Trader lets you create program trading strategies, as follows: You create the strategy in Excel by writing a VBA macro function The strategy can depend on your position

More information

One Dimension Array: Declaring a fixed-array, if array-name is the name of an array

One Dimension Array: Declaring a fixed-array, if array-name is the name of an array Arrays in Visual Basic 6 An array is a collection of simple variables of the same type to which the computer can efficiently assign a list of values. Array variables have the same kinds of names as simple

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

PharmaSUG 2014 - Paper PO01

PharmaSUG 2014 - Paper PO01 ABSTRACT PharmaSUG 2014 - Paper PO01 A User Friendly Tool to Facilitate the Data Integration Process Yang Wang, Seattle Genetics, Inc., Bothell, WA Boxun Zhang, Seattle Genetics, Inc., Bothell, WA For

More information

OpenOffice.org 3.1 BASIC Guide

OpenOffice.org 3.1 BASIC Guide OpenOffice.org 3.1 BASIC Guide Copyright This document is published under the PDL. See: http://www.openoffice.org/licenses/ PDL.html Contents Copyright...2 Preface...9 1 OpenOffice.org BASIC Programming

More information

Spreadsheet Model for Student Evaluation and Grading

Spreadsheet Model for Student Evaluation and Grading Spreadsheet Model for Student Evaluation and Grading Volume 3 Issue 4 January-March, 2012 Abstract This technical note describes the application of a spreadsheet-based model for student evaluation and

More information

The FTS Real Time System lets you create algorithmic trading strategies, as follows:

The FTS Real Time System lets you create algorithmic trading strategies, as follows: Algorithmic Trading The FTS Real Time System lets you create algorithmic trading strategies, as follows: You create the strategy in Excel by writing a VBA macro function The strategy can depend on your

More information

Use the Visual Basic 6 APP object to polish your applications

Use the Visual Basic 6 APP object to polish your applications Use the Visual Basic 6 APP object to polish your applications One of the more interesting 'built in' System Objects in Visual Basic is the App Object. The APP (short for Application) Object gives your

More information

a) What is the major difference between a program that runs under a virtual machine vs. one that does not?

a) What is the major difference between a program that runs under a virtual machine vs. one that does not? CS109 Midterm Exam, Total = 100 Points Name: Please write neatly and show as much of your work as possible for partial credit. Scan through all problems first, and attack the easiest problems first. Use

More information

IVI Configuration Store

IVI Configuration Store Agilent Developer Network White Paper Stephen J. Greer Agilent Technologies, Inc. The holds information about IVI drivers installed on the computer and configuration information for an instrument system.

More information

Fig. 1 The finished UserForm project.

Fig. 1 The finished UserForm project. Build a UserForm for Excel Introduction A UserForm is a custom-built dialog box that you build using the Visual Basic Editor. Whilst this example works in Excel you can use the same techniques to create

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

Hummingbird Enterprise 2004 5.1.0.5

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.

More information

CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013

CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 Oct 4, 2013, p 1 Name: CS 141: Introduction to (Java) Programming: Exam 1 Jenny Orr Willamette University Fall 2013 1. (max 18) 4. (max 16) 2. (max 12) 5. (max 12) 3. (max 24) 6. (max 18) Total: (max 100)

More information

Visual Basic for Applications - Programming Excel. Michael Schacht Hansen

Visual Basic for Applications - Programming Excel. Michael Schacht Hansen Visual Basic for Applications - Programming Excel Michael Schacht Hansen October 6, 2002 Contents 1 Introduction 3 1.1 Purpose................................ 3 1.2 Who should participate.......................

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

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

Siemens Applied Automation Page 1 11/26/03 9:57 PM. Maxum ODBC 3.11

Siemens Applied Automation Page 1 11/26/03 9:57 PM. Maxum ODBC 3.11 Siemens Applied Automation Page 1 Maxum ODBC 3.11 Table of Contents Installing the Polyhedra ODBC driver... 2 Using ODBC with the Maxum Database... 2 Microsoft Access 2000 Example... 2 Access Example (Prior

More information

Using the For Each Statement to 'loop' through the elements of an Array

Using the For Each Statement to 'loop' through the elements of an Array Using the For Each Statement to 'loop' through the elements of an Array This month's article was inspired by a Visual Basic tip I saw recently that touted the advantages of using LBound and Ubound functions

More information

Visual Basic and Databases

Visual Basic and Databases 1-1 1. Introducing Preview In this first chapter, we will do a quick overview of what the course entails. We will discuss what you need to complete the course. We ll take a brief look at what databases

More information

Visual Basic - Modules and Procedures

Visual Basic - Modules and Procedures Visual Basic - Modules and Procedures Introduction A procedure is a unit of code enclosed either between the Sub and statements or between the Function and statements. A procedure should accomplish a simple

More information

PIC 10A. Lecture 7: Graphics II and intro to the if statement

PIC 10A. Lecture 7: Graphics II and intro to the if statement PIC 10A Lecture 7: Graphics II and intro to the if statement Setting up a coordinate system By default the viewing window has a coordinate system already set up for you 10-10 10-10 The origin is in the

More information

How to Link Tables Using. SQL Named Parameters

How to Link Tables Using. SQL Named Parameters How to Link Tables Using SQL Named Parameters Distributed by The OpenOffice.org Documentation Project Table of Contents Introduction... 3 Creating the Database, Tables, and Data Source...5 Adding Data

More information

EUROCALCULADORA. Option Compare Database. Private Sub Comando4_Click() [pesetas] = [euros] * 166.386 End Sub

EUROCALCULADORA. Option Compare Database. Private Sub Comando4_Click() [pesetas] = [euros] * 166.386 End Sub PROGRAMACIÓN ACCESS 1 EUROCALCULADORA Private Sub Comando4_Click() [pesetas] = [euros] * 166.386 Private Sub Comando5_Click() [euros] = [pesetas] / 166.386 Private Sub GENERA_Click() intentos = 0 Randomize

More information

SRFax Fax API Web Services Documentation

SRFax Fax API Web Services Documentation SRFax Fax API Web Services Documentation Revision Date: July 2015 The materials and sample code are provided only for the purpose of an existing or potential customer evaluating or implementing a programmatic

More information

SQL Server CE Remote Data Access and Replication

SQL Server CE Remote Data Access and Replication 04-P1914 8/24/2001 11:26 AM Page 134 F O U R SQL Server CE Remote Data Access and Replication Remote Data Access (RDA) and replication are two techniques that allow you to take data from an SQL Server

More information

Classes and Objects in Java Constructors. In creating objects of the type Fraction, we have used statements similar to the following:

Classes and Objects in Java Constructors. In creating objects of the type Fraction, we have used statements similar to the following: In creating objects of the type, we have used statements similar to the following: f = new (); The parentheses in the expression () makes it look like a method, yet we never created such a method in our

More information

Database Development OpenOffice.org & OOBasic

Database Development OpenOffice.org & OOBasic Database Development OpenOffice.org & OOBasic This is, for the time being, an informal guide on database development using OpenOffice.org & OpenOffice Basic (OOBasic). Currently, I have discussed the Statement,

More information

OpenOffice.org BASIC Guide

OpenOffice.org BASIC Guide OpenOffice.org BASIC Guide PDF generated using the open source mwlib toolkit see http://code.pediapress.com/ for more information OpenOffice.org BASIC Programming Guide 2 OpenOffice. org BASIC Programming

More information

6.4 Special Factoring Rules

6.4 Special Factoring Rules 6.4 Special Factoring Rules OBJECTIVES 1 Factor a difference of squares. 2 Factor a perfect square trinomial. 3 Factor a difference of cubes. 4 Factor a sum of cubes. By reversing the rules for multiplication

More information

Part 1: An Introduction

Part 1: An Introduction Computer Programming in Excel VBA Part 1: An Introduction by Kwabena Ofosu, Ph.D., P.E., PTOE Abstract This course is the first of a four-part series on computer programming in Excel Visual Basic for Applications

More information

Portfolio Optimization

Portfolio Optimization Financial Modeling Templates http://spreadsheetml.com/finance/portfoliooptimization.shtml Copyright (c) 2009-2014, ConnectCode All Rights Reserved. ConnectCode accepts no responsibility for any adverse

More information

Copyright. Proprietary Notice

Copyright. Proprietary Notice Mastering ifix Copyright Proprietary Notice The manual and software contain confidential information which represents trade secrets of GE Fanuc International, Inc. and/or its suppliers, and may not be

More information

Welcome to: Bentley Bash 2011. Customizing MicroStation via VBA. Created by Mike Lazear Archway Systems, Inc.

Welcome to: Bentley Bash 2011. Customizing MicroStation via VBA. Created by Mike Lazear Archway Systems, Inc. Welcome to: Customizing MicroStation via VBA Bentley Bash 2011 Created by Mike Lazear Archway Systems, Inc. Survey 1. Have you run a macro in MicroStation? 2. Recorded or created a macro in MicroStation?

More information

Aim. Decimal Search. An Excel 'macro' was used to do the calculations. A copy of the script can be found in Appendix A.

Aim. Decimal Search. An Excel 'macro' was used to do the calculations. A copy of the script can be found in Appendix A. Aim The aim of this investigation is to use and compare three different methods of finding specific solutions to polynomials that cannot be solved algebraically. The methods that will be considered are;

More information

CAPIX Job Scheduler User Guide

CAPIX 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 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

It has a parameter list Account(String n, double b) in the creation of an instance of this class.

It has a parameter list Account(String n, double b) in the creation of an instance of this class. Lecture 10 Private Variables Let us start with some code for a class: String name; double balance; // end Account // end class Account The class we are building here will be a template for an account at

More information

Visual Basic 6 Error Handling

Visual Basic 6 Error Handling Visual Basic 6 Error Handling Try as hard as you might, it's virtually impossible to make the programs you write foolproof. Sad to say, programs bomb, that is ungracefully come to a grinding halt---and

More information

Introduction. Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications

Introduction. Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications Introduction Why (GIS) Programming? Streamline routine/repetitive procedures Implement new algorithms Customize user applications 1 Computer Software Architecture Application macros and scripting - AML,

More information

SOA 2012 Life & Annuity Symposium May 21-22, 2012. Session 16 PD, Best Practices for Excel Design and Controls. Moderator: Kevin L.

SOA 2012 Life & Annuity Symposium May 21-22, 2012. Session 16 PD, Best Practices for Excel Design and Controls. Moderator: Kevin L. SOA 2012 Life & Annuity Symposium May 21-22, 2012 Session 16 PD, Best Practices for Excel Design and Controls Moderator: Kevin L. Kehn, FSA, MAAA Presenters: Matthew D. Dunscombe, FSA, MAAA Kevin L. Kehn,

More information

Projecte/Treball Final de Carrera

Projecte/Treball Final de Carrera Projecte/Treball Final de Carrera Estudi: Eng. Tècn. Informàtica de Gestió. Pla 1993 Títol: Aplicació de comptabilitat Document: Annex I Codi font i script SQL server Alumne: Joan Carles Jiménez Carmona

More information

OpenOffice.org 2.x... and beyond. Michael Bemmer Director Software Engineering StarOffice/OpenOffice.org Sun Microsystems

OpenOffice.org 2.x... and beyond. Michael Bemmer Director Software Engineering StarOffice/OpenOffice.org Sun Microsystems OpenOffice.org 2.x... and beyond Michael Bemmer Director Software Engineering StarOffice/OpenOffice.org Sun Microsystems Focus areas There are two focus areas: Community Building Improvements / Features

More information

MS Office 2010. MS Excel VBA Manual

MS Office 2010. MS Excel VBA Manual MS Office 2010 MS Excel VBA Manual Table of Contents INTRODUCTION... 1 VISUAL BASIC EDITOR... 2 VISUAL BASIC FOR APPLICATIONS (50 MINS)... 2 THE PROJECT EXPLORER... 4 THE PROPERTIES WINDOW... 4 THE CODE

More information

Citizen Service Management

Citizen Service Management Citizen Service Management Custmer API Dcumentatin PAGE 1 Learn mre visit: gvdelivery.cm gvdelivery.c.uk email: inf@gvdelivery.cm call: U.S. (866) 276-5583 U.K. 0800 032 5769 Table f Cntents Overview...

More information

eday Lessons HSCC Precalculus Logarithims F-LE 4, BF-B 5 11/2014 E-Lesson 1

eday Lessons HSCC Precalculus Logarithims F-LE 4, BF-B 5 11/2014 E-Lesson 1 eday Lessons HSCC Precalculus Logarithims F-LE 4, BF-B 5 11/2014 E-Lesson 1 Enclosed are the E-Day assignments required to make up the 3 calamity days missed during the 2014-2015 school year for High School

More information

dlsoft Barcodes for Office By dlsoft

dlsoft Barcodes for Office By dlsoft dlsoft Barcodes for Office By dlsoft This manual was produced using ComponentOne Doc-To-Help. Contents Barcodes for Office 1 Introduction... 1 Font or Picture or Object... 2 Licensing of Barcodes & Labels

More information

CardSwipe Integration

CardSwipe Integration CardSwipe Integration CardSwipe is an app that passes data from a Mag Stripe Reader to your application. No data is stored in CardSwipe making it PCI Compliant. Communication between CardSwipe and your

More information

Documentation to use the Elia Infeed web services

Documentation to use the Elia Infeed web services Documentation to use the Elia Infeed web services Elia Version 1.0 2013-10-03 Printed on 3/10/13 10:22 Page 1 of 20 Table of Contents Chapter 1. Introduction... 4 1.1. Elia Infeed web page... 4 1.2. Elia

More information

1. Create SQL Database in Visual Studio

1. Create SQL Database in Visual Studio 1. Create SQL Database in Visual Studio 1. Select Create New SQL Server Database in Server Explorer. 2. Select your server name, and input the new database name, then press OK. Copyright 2011 Lo Chi Wing

More information

How To Write A Word To C:\\T2.Com (Sas) On A Word Document (Windows) On An Amd64 Or Windows) On Your Computer Or Macbook (Windows Or Word) On The Macbook Or Word (Or

How To Write A Word To C:\\T2.Com (Sas) On A Word Document (Windows) On An Amd64 Or Windows) On Your Computer Or Macbook (Windows Or Word) On The Macbook Or Word (Or PharmaSUG 2013 Paper BB11 Four Useful VBA Utilities for SAS Programmers David Franklin, TheProgrammersCabin.com, Litchfield, NH ABSTRACT While the SAS Programmer can stick strictly to SAS, where are other

More information

Sci.Int.(Lahore),26(2),791-799,2014 ISSN 1013-5316; CODEN: SINTE 8 791

Sci.Int.(Lahore),26(2),791-799,2014 ISSN 1013-5316; CODEN: SINTE 8 791 Sci.Int.(Lahore),26(2),791-799,2014 ISSN 1013-5316; CODEN: SINTE 8 791 ANALYSIS, DESIGN AND IMPLEMENTATION OF QUALITY MANAGEMENT SYSTEM FOR KSA SOFTWARE COMPANY Omar Saeed Almushayt MIS Department, Business

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

SafeGuard PrivateCrypto 2.40 help

SafeGuard PrivateCrypto 2.40 help SafeGuard PrivateCrypto 2.40 help Document date: September 2009 Contents 1 Introduction... 2 2 Installation... 4 3 SafeGuard PrivateCrypto User Application... 5 4 SafeGuard PrivateCrypto Explorer extensions...

More information