Creating a Windchill Report Interface in Excel

Slides:



Advertisements
Similar presentations
PART IV - EMBED VIDEO, AUDIO, AND DOCUMENTS. Find a video on Youtube.com: Search for a video, then look for the Embed code. Copy this code into the HTML/JavaScript.
Advertisements

JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
DREAMWEAVER Welcome to our website!
Live Excel PRESENTER: Brad Leupen | CTO, Entrinsik |
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Html: getting started HTML is hyper text markup language. It is what web browsers look at on the Internet. HTML documents should be created in a simple.
Visual Basic for Applications. What it does Extends the features and built in functions of Excel – Create and run VB procedures – Some may be easy to.
Microsoft Excel. What is Microsoft Excel? Spreadsheet program that allows users to organize data, complete calculations, make decisions, and graph data.
Using Macros and Visual Basic for Applications (VBA) with Excel
Developing an Excel Application
Excel Tutorial 6 Managing Multiple Worksheets and Workbooks
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Using Microsoft Office Excel 2007
How to get started with Excel VBA. We need to enable programming in Excel  the “Developer menu”
Welcome to Woolmer Hill Technical College About the course Click on the pages to run through the presentation.
Macros Excel built-in functions are great but limited Macros are a means for the user to define new functions A macro is a single command that automates.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Tutorial 8 Sharing, Integrating and Analyzing Data
MS-Excel XP Lesson 3. Print Preview 1.File menu, Print preview menu item 2.Print preview window, close button 3.Pages are outlined by borders on worksheet.
Figure 1. Hit analysis in 2002 of database-driven web applications Hits by Category in 2002 N = 73,873 Results Reporting 27% GME 26% Research 20% Bed Availability.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Exploring Microsoft Excel 2002 Chapter 8 Chapter 8 Automating Repetitive Tasks: Macros and Visual Basic for Applications By Robert T. Grauer Maryann Barber.
Copyright 2007, Information Builders. Slide 1 Maintain & JavaScript: Two Great Tools that Work Great Together Mark Derwin and Mark Rawls Information Builders.
Microsoft Word 2000: Mail Merge Basics Peggy Serfazo Marple Molly Calvello Support Professionals Business Applications - Desktop Microsoft Corporation.
Advanced Excel for Finance Professionals A self study material from South Asian Management Technologies Foundation.
Air Quality System Precision and Accuracy Data Transaction Generator (AQSP&A) Training Session.
PHP meets MySQL.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
VBA Lab 2 I ns.Samia Al-blwi. Visual Basic Grammar Object: Visual Basic is an object-oriented language. This means that all the items in Excel are thought.
® Microsoft Office 2010 Integrating Word, Excel, Access, and PowerPoint.
Chapter 9 Macros And Visual Basic For Applications.
® Microsoft Office 2010 Integrating Word, Excel, Access, and PowerPoint.
Microsoft Excel 2003 Illustrated Complete Data with Other Programs Exchanging.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Basic Microsoft Excel & Completing Reading Challenge Card.
Creating and Editing a Web Page
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 8 BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from Access, a Web site, or a CSV text file.
1 New Perspectives on Access 2016 Module 8: Sharing, Integrating, and Analyzing Data.
Excel Tutorial 8 Developing an Excel Application
IE 8580 Module 4: DIY Monte Carlo Simulation
Weebly Elements, Continued
Creating a Windchill Report Interface in Excel
Weebly Elements, Continued
Making a JSON file.
TDA Direct Certification
How to make and publish a web page
Data Validation and Protecting Workbook
Microsoft Office Illustrated
Managing Multiple Worksheets and Workbooks
2. Double-click on file to open in Excel
Bryan College presents:
Rogers Sourcing Using Excel to Upload Responses into Ariba
When I want to execute the subroutine I just give the command Write()
Exploring Microsoft Excel
Microsoft Excel 2007 – Level 2
Microsoft PowerPoint 2007 – Unit 2
Chapter 7 Searching Your Products
Lesson 1 - Automating Tasks
Introduction to Internet Explorer
Smart View Refresh.
Running a Java Program using Blue Jay.
Tutorial 8 Sharing, Integrating, and Analyzing Data
Presentation transcript:

Creating a Windchill Report Interface in Excel Create your initial report in Windchill using Report Manger. Report manager is accessible from the Org* and Site tabs. * We create all of our reports on the Org tab.

Creating a Windchill Report Interface in Excel Generate the report using the HTML (with sorting) output and copy the URL of the executed report.

Creating a Windchill Report Interface in Excel Create an iqy file using notepad. This file will be used to create the web query in excel. Create a text document on your desktop in the following format. Paste the URL of the executed report under the text 1. If you have parameters, you will want to change your URL to prompt you for them in excel. Find the value(s) that you entered when you executed the report and replace them with the following: [“Your Prompt Name”, “Your Prompt Message”] Save the file with an iqy extension.

Creating a Windchill Report Interface in Excel Create a new excel file and create a new connection. Create a new workbook and add a new data connection. Browse for More to find the iqy file you just created and open it.

Creating a Windchill Report Interface in Excel Create a new excel file and create a new connection.

Creating a Windchill Report Interface in Excel Enter a value in you parameter cell to avoid running a large query. Enter a Value in the cell you selected to contain your parameter.

Creating a Windchill Report Interface in Excel Add the connection to your sheet. To embed the report, click on Existing Connections. Select the connection you just created and click Open.

Creating a Windchill Report Interface in Excel Add the connection to your sheet. Select the cell where you would like the report begin then click OK.

Creating a Windchill Report Interface in Excel Your report will run using your parameter value. You can leave this report as is or, you can add some VB script to make the report more user friendly. The next couple slides will give you an example of an embedded report with VB script.

Example of VB Code The following report allows the user to enter a document number with a wildcard. Using the buttons provided, the user can run the report, clear the results or download all the content. When executed, the report also allows the users to download individual documents. Parameter was set to cell B3 without auto-refresh. Three buttons were created and assigned to a macro.

Below is the code used for each button Example of VB Code Below is the code used for each button Macro for the “Run Report” Button Sub RefreshReport() Sheet1.Range("B6:B8").ClearContents Sheet1.Range("A11:D65536").ClearContents Application.ScreenUpdating = False If Sheet1.Cells(3, 2) <> "" Then TrimNumber = RTrim(Sheet1.Cells(3, 2)) Sheet1.Cells(3, 2) = TrimNumber 'Run the Report Sheet1.Range("B3").QueryTable.Refresh BackgroundQuery:=False 'Remove the Header Links Sheet1.Range("A10:D10").Hyperlinks.Delete 'Set Links I = 11 Do While Sheet1.Cells(I, 1) <> "" ActiveSheet.Hyperlinks.Add Anchor:=Sheet1.Cells(I, 2), Address:= _ Sheet1.Cells(I, 2).Value, TextToDisplay:="Download Content" I = I + 1 Loop 'Fix the Column Widths, Alignment and Formatting Sheet1.Columns("A:D").EntireColumn.AutoFit Sheet1.Columns("A:D").Select Selection.Font.Bold = True With Selection .HorizontalAlignment = xlCenter .Orientation = 0 .AddIndent = False .IndentLevel = 0 .ShrinkToFit = False .ReadingOrder = xlContext End With Else 'Throw Error for Missing Document MsgBox ("A Document Number is required to run this report. Please enter a Document number and try again.") Sheet1.Cells(3, 2).Activate End If Application.ScreenUpdating = True End Sub Macro for the “Clear” Button Sub CleanReportContents() Sheet1.Range("B3").ClearContents Sheet1.Range("B6:B8").ClearContents Sheet1.Range("A11:D65536").ClearContents End Sub Macro for the “Download All Content” Button Sub DownloadAllContent() If Sheet1.Cells(11, 1) <> "" And Sheet1.Cells(8, 2).Value < 6 Then Application.ScreenUpdating = False I = 11 Do While Sheet1.Cells(I, 1) <> "" Sheet1.Cells(I, 2).Select Selection.Hyperlinks(1).Follow I = I + 1 Loop Application.ScreenUpdating = True Else 'Throw Error for Missing Document MsgBox ("No content to download or records retrieved is too large for mass download") End If End Sub