OFF97: Sample VBA Code to Create a Graph from a Text File (176443)
The information in this article applies to:
- Microsoft Graph 97
- Microsoft Graph 98 Macintosh Edition
- Microsoft PowerPoint 97 for Windows
- Microsoft PowerPoint 98 Macintosh Edition
This article was previously published under Q176443 SUMMARY
This article provides a sample Microsoft Visual Basic for Applications
macro (Sub procedure) that creates a Microsoft PowerPoint presentation
containing a Microsoft Graph object. The graph is created using data
imported from a data file. This file must be in comma-separated values
(CSV) format or tab-separated values format.
REFERENCES
For more information about creating Visual Basic for Applications macros,
click the Office Assistant in Microsoft PowerPoint, type "how to create a
macro," click Search, and then click to view "Create a macro in Visual
Basic Editor."
For more information about running Visual Basic for Applications macros,
click the Office Assistant in Microsoft PowerPoint, type "how to run a
macro," click Search, and then click to view "Run a macro."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If Microsoft PowerPoint Help is not installed on your
computer, please see the following article in the Microsoft Knowledge Base:
120802 Office: How to Add/Remove a Single Office Program or Component
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435 VBA: Programming Resources for Visual Basic for Applications
For more information about manipulating graphs using Visual Basic for
Applications code in Microsoft PowerPoint, please see the following
articles in the Microsoft Knowledge Base:
163188 PPT: Sample VB Code to Create a Graph on a Slide
172836 PPT: Sample Code to Change the Chart Type of a Graph
| Modification Type: | Minor | Last Reviewed: | 8/17/2005 |
|---|
| Keywords: | kbdtacode kbinfo kbProgramming KB176443 |
|---|
|