<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Visio Tip: getting stuff in Powerpoint</title>
	<atom:link href="http://poorbuthappy.com/ease/archives/2006/04/19/3124/visio-tip-getting-stuff-in-powerpoint/feed" rel="self" type="application/rss+xml" />
	<link>http://poorbuthappy.com/ease/archives/2006/04/19/3124/visio-tip-getting-stuff-in-powerpoint</link>
	<description>Peter Van Dijck's weblog</description>
	<pubDate>Fri, 21 Nov 2008 23:10:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Jacco</title>
		<link>http://poorbuthappy.com/ease/archives/2006/04/19/3124/visio-tip-getting-stuff-in-powerpoint#comment-58789</link>
		<dc:creator>Jacco</dc:creator>
		<pubDate>Fri, 28 Apr 2006 10:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://poorbuthappy.com/ease/archives/2006/04/19/3124/visio-tip-getting-stuff-in-powerpoint#comment-58789</guid>
		<description>Hi Peter,

Why not include this little macro, and you can define how your pages will be named.


Sub saveAllPagesAsImage()

Dim p As Page
Dim pnr As Integer
Dim destDir as String

    destDir="C:\"  'enter the desitination directory here (add trailing "\"!)
    pnr = 1
    For Each p In ActiveDocument.Pages
        If Not p.Background Then
            ' numbered pages
            p.Export destdir + "page" + Format(pnr, "00") + ".gif"

            ' or use the actual page names (make sure no illegal characters are in the Visio page names!)
            p.Export destdir + p.Name + ".gif"

            pnr = pnr + 1
        End If
    Next
    
End Sub



Cheers,

Jacco</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Why not include this little macro, and you can define how your pages will be named.</p>
<p>Sub saveAllPagesAsImage()</p>
<p>Dim p As Page<br />
Dim pnr As Integer<br />
Dim destDir as String</p>
<p>    destDir=&#8221;C:\&#8221;  &#8216;enter the desitination directory here (add trailing &#8220;\&#8221;!)<br />
    pnr = 1<br />
    For Each p In ActiveDocument.Pages<br />
        If Not p.Background Then<br />
            &#8216; numbered pages<br />
            p.Export destdir + &#8220;page&#8221; + Format(pnr, &#8220;00&#8243;) + &#8220;.gif&#8221;</p>
<p>            &#8216; or use the actual page names (make sure no illegal characters are in the Visio page names!)<br />
            p.Export destdir + p.Name + &#8220;.gif&#8221;</p>
<p>            pnr = pnr + 1<br />
        End If<br />
    Next</p>
<p>End Sub</p>
<p>Cheers,</p>
<p>Jacco</p>
]]></content:encoded>
	</item>
</channel>
</rss>
