<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Export All Pages in Document</title>
	<atom:link href="http://www.visguy.com/2006/09/18/export-all-pages-in-document/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/</link>
	<description>Shapes, Stencils, Drawings Templates, Tutorials, Tips &#38; Developer Info for Microsoft Visio</description>
	<lastBuildDate>Fri, 10 Feb 2012 17:20:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-27980</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Wed, 09 Nov 2011 11:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-27980</guid>
		<description>Thanks Rob,

TODO: replace characters from page names that will be illegal in file names.</description>
		<content:encoded><![CDATA[<p>Thanks Rob,</p>
<p>TODO: replace characters from page names that will be illegal in file names.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Pearson</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-27976</link>
		<dc:creator>Rob Pearson</dc:creator>
		<pubDate>Wed, 09 Nov 2011 03:46:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-27976</guid>
		<description>Many thanks for this. Your comment from April 10 2009 was essential to understand how to get this to work, so that should probably be in the main body of the article - don&#039;t overestimate our level of knowledge!

Also the export falls over if you have any disallowed characters in your page names - I had colons and it took me a while to figure out that I needed to remove them.

Thanks again :-)</description>
		<content:encoded><![CDATA[<p>Many thanks for this. Your comment from April 10 2009 was essential to understand how to get this to work, so that should probably be in the main body of the article &#8211; don&#8217;t overestimate our level of knowledge!</p>
<p>Also the export falls over if you have any disallowed characters in your page names &#8211; I had colons and it took me a while to figure out that I needed to remove them.</p>
<p>Thanks again <img src='http://www.visguy.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lantrix</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-26550</link>
		<dc:creator>Lantrix</dc:creator>
		<pubDate>Tue, 08 Feb 2011 01:52:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-26550</guid>
		<description>Mana&#039;s first comment was in essence this:

Change this:
&lt;code&gt;
Dim formatExtension As String formatExtension = &quot;.gif&quot; &#039;...or .bmp, .jpg, .png, .tif
&lt;/code&gt;

to this:
&lt;code&gt;
Dim formatExtension As String
formatExtension = &quot;.gif&quot;
&#039;//…or .bmp, .jpg, .png, .tif
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Mana&#8217;s first comment was in essence this:</p>
<p>Change this:<br />
<code><br />
Dim formatExtension As String formatExtension = ".gif" '...or .bmp, .jpg, .png, .tif<br />
</code></p>
<p>to this:<br />
<code><br />
Dim formatExtension As String<br />
formatExtension = ".gif"<br />
'//…or .bmp, .jpg, .png, .tif<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-24754</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Thu, 16 Sep 2010 22:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-24754</guid>
		<description>Hi Mana,

Fixed the second typo, not sure what your first comment was about...those are just comments!</description>
		<content:encoded><![CDATA[<p>Hi Mana,</p>
<p>Fixed the second typo, not sure what your first comment was about&#8230;those are just comments!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mana</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-24748</link>
		<dc:creator>Mana</dc:creator>
		<pubDate>Thu, 16 Sep 2010 08:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-24748</guid>
		<description>Thank you Visio Guy!
Some small issues:

  formatExtension = &quot;.gif&quot; &#039;...or .bmp, .jpg, .png, .tif
=&gt;
  formatExtension = &quot;.gif&quot; 
  &#039;//...or .bmp, .jpg, .png, .tif

  Set doc = Visio.ActiveDocument i = 1
=&gt;
  Set doc = Visio.ActiveDocument 
  i = 1</description>
		<content:encoded><![CDATA[<p>Thank you Visio Guy!<br />
Some small issues:</p>
<p>  formatExtension = &#8220;.gif&#8221; &#8216;&#8230;or .bmp, .jpg, .png, .tif<br />
=&gt;<br />
  formatExtension = &#8220;.gif&#8221;<br />
  &#8216;//&#8230;or .bmp, .jpg, .png, .tif</p>
<p>  Set doc = Visio.ActiveDocument i = 1<br />
=&gt;<br />
  Set doc = Visio.ActiveDocument<br />
  i = 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-24739</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Mon, 13 Sep 2010 14:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-24739</guid>
		<description>Thanks jabbett,

Yup, Visio 2010 finally has added some control over export resolution!</description>
		<content:encoded><![CDATA[<p>Thanks jabbett,</p>
<p>Yup, Visio 2010 finally has added some control over export resolution!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jabbett</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-24738</link>
		<dc:creator>jabbett</dc:creator>
		<pubDate>Mon, 13 Sep 2010 14:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-24738</guid>
		<description>Looks like Visio 2010 has more API hooks for configuring export formats:

&lt;a href=&quot;http://blogs.msdn.com/b/visio/archive/2010/03/03/new-visio-2010-api-for-configuring-raster-export.aspx&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;New Visio 2010 API for Configuring Raster Export&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Looks like Visio 2010 has more API hooks for configuring export formats:</p>
<p><a  href="http://blogs.msdn.com/b/visio/archive/2010/03/03/new-visio-2010-api-for-configuring-raster-export.aspx" target="_blank" rel="nofollow">New Visio 2010 API for Configuring Raster Export</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-24737</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Mon, 13 Sep 2010 13:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-24737</guid>
		<description>Hi Mana,

Just copying the button doesn&#039;t copy all the code behind it. You probably just end up with another button that is linked to nothing.

Here&#039;s roughly how to hook a button to VBA code. After adding a button to a Visio page:

1. Right click the button
2. Choose CommandButton Object &gt; View Code
3. In the VBA editor that appears, add the code from this article either by referencing sub ExportAllPages, or copying the code and pasting it into the Button&#039;s procedure.</description>
		<content:encoded><![CDATA[<p>Hi Mana,</p>
<p>Just copying the button doesn&#8217;t copy all the code behind it. You probably just end up with another button that is linked to nothing.</p>
<p>Here&#8217;s roughly how to hook a button to VBA code. After adding a button to a Visio page:</p>
<p>1. Right click the button<br />
2. Choose CommandButton Object > View Code<br />
3. In the VBA editor that appears, add the code from this article either by referencing sub ExportAllPages, or copying the code and pasting it into the Button&#8217;s procedure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mana</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-24726</link>
		<dc:creator>Mana</dc:creator>
		<pubDate>Sat, 11 Sep 2010 16:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-24726</guid>
		<description>Hello,

Please tell me more detail about how can I create the button Export all in my new Visiso document and insert the VB code?

I tried to copy the button in demo file (Export All Pages.vsd) to my Visio file, but nothing happen when clicking on it.

Thank you.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Please tell me more detail about how can I create the button Export all in my new Visiso document and insert the VB code?</p>
<p>I tried to copy the button in demo file (Export All Pages.vsd) to my Visio file, but nothing happen when clicking on it.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-24689</link>
		<dc:creator>david</dc:creator>
		<pubDate>Mon, 30 Aug 2010 18:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-24689</guid>
		<description>Visio Guy, you are the BOMB!!!  Thanks for saving me time and pain.  May Karma repay you. :-D</description>
		<content:encoded><![CDATA[<p>Visio Guy, you are the BOMB!!!  Thanks for saving me time and pain.  May Karma repay you. <img src='http://www.visguy.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-22093</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Fri, 10 Apr 2009 10:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-22093</guid>
		<description>Hi Rick,

Make the document you want to export the &quot;active&quot; document. Ie: give it focus and minimize the &quot;exporter&quot;.

Then, go into the VBA project and look for ThisDocument.ExportAllPages. Place your cursor somewhere in this procedure, then press F5 to run it.

The code gets the ActiveDocument and exports that. When you press the button, then the exporter document is always active, so if using the button, you&#039;re kind of stuck.

But when running from the code window, any document can be active, so this is more flexible.</description>
		<content:encoded><![CDATA[<p>Hi Rick,</p>
<p>Make the document you want to export the &#8220;active&#8221; document. Ie: give it focus and minimize the &#8220;exporter&#8221;.</p>
<p>Then, go into the VBA project and look for ThisDocument.ExportAllPages. Place your cursor somewhere in this procedure, then press F5 to run it.</p>
<p>The code gets the ActiveDocument and exports that. When you press the button, then the exporter document is always active, so if using the button, you&#8217;re kind of stuck.</p>
<p>But when running from the code window, any document can be active, so this is more flexible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Bond</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-22089</link>
		<dc:creator>Rick Bond</dc:creator>
		<pubDate>Thu, 09 Apr 2009 21:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-22089</guid>
		<description>Dumb question:  

When I click the &quot;Export All Pages&quot; button in &quot;Export All Pages.vsd, it exports only the Export All Pages&quot; image. 

How do I tell it to export all the pages in MY document?   

Thank you,

Rick</description>
		<content:encoded><![CDATA[<p>Dumb question:  </p>
<p>When I click the &#8220;Export All Pages&#8221; button in &#8220;Export All Pages.vsd, it exports only the Export All Pages&#8221; image. </p>
<p>How do I tell it to export all the pages in MY document?   </p>
<p>Thank you,</p>
<p>Rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-21843</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Mon, 16 Feb 2009 08:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-21843</guid>
		<description>Hi Durzo,

Just change a few lines, for example:

Dim formatExtension As String formatExtension = &quot;.png&quot;

folder = &quot;C:\DurzosExports&quot;

- Chris</description>
		<content:encoded><![CDATA[<p>Hi Durzo,</p>
<p>Just change a few lines, for example:</p>
<p>Dim formatExtension As String formatExtension = &#8220;.png&#8221;</p>
<p>folder = &#8220;C:\DurzosExports&#8221;</p>
<p>- Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DurzoFlint</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-21820</link>
		<dc:creator>DurzoFlint</dc:creator>
		<pubDate>Sat, 14 Feb 2009 12:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-21820</guid>
		<description>How can I modify this to save a selected drawing to a specific path and as a png file.

thanks

Durzo</description>
		<content:encoded><![CDATA[<p>How can I modify this to save a selected drawing to a specific path and as a png file.</p>
<p>thanks</p>
<p>Durzo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Irish</title>
		<link>http://www.visguy.com/2006/09/18/export-all-pages-in-document/comment-page-1/#comment-21597</link>
		<dc:creator>Paul Irish</dc:creator>
		<pubDate>Thu, 08 Jan 2009 15:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2006/10/24/export-all-pages-in-document/#comment-21597</guid>
		<description>Quick tip.
Make sure this vsd file is saved to a real place on the harddrive, not a temp folder.
Also, even better if its in the same folder as the other VSD you&#039;re processing.</description>
		<content:encoded><![CDATA[<p>Quick tip.<br />
Make sure this vsd file is saved to a real place on the harddrive, not a temp folder.<br />
Also, even better if its in the same folder as the other VSD you&#8217;re processing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 8/27 queries in 0.013 seconds using disk: basic
Object Caching 585/589 objects using disk: basic
Content Delivery Network via N/A

Served from: www.visguy.com @ 2012-02-11 01:36:50 -->
