Sample macro to fit drawing to page in Visio (305461)
The information in this article applies to:
- Microsoft Office Visio Professional 2003
- Microsoft Office Visio Standard 2003
- Microsoft Visio 2002 Professional
- Microsoft Visio 2002 Standard
This article was previously published under Q305461
For a Microsoft Visio 2000 version of this article, see 275589.
SUMMARY
This article contains a sample Microsoft Visual Basic for Applications
macro (Sub procedure) that resizes any page in a Microsoft Visio project to fit the drawing on the page.
REFERENCES
For more information about how to use the sample code in this article, click the following article number to view the article in the Microsoft Knowledge Base:
297304
How to run sample code from Knowledge Base articles
For the latest information, news, resources, downloadable files, and more for the Visio developer, visit the following Microsoft Web site:
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto KB305461 |
---|
|