<?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: LengthIU Bug Workaround Code</title>
	<atom:link href="http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/</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: stodds</title>
		<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/comment-page-1/#comment-26677</link>
		<dc:creator>stodds</dc:creator>
		<pubDate>Wed, 02 Mar 2011 12:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/#comment-26677</guid>
		<description>Greetings,

Were the issues raised here ever sorted?  I am having trouble getting this to work too and not having used VB before ain&#039;t helping!

Cheers

Steve</description>
		<content:encoded><![CDATA[<p>Greetings,</p>
<p>Were the issues raised here ever sorted?  I am having trouble getting this to work too and not having used VB before ain&#8217;t helping!</p>
<p>Cheers</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neilkeron</title>
		<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/comment-page-1/#comment-22938</link>
		<dc:creator>neilkeron</dc:creator>
		<pubDate>Thu, 30 Jul 2009 13:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/#comment-22938</guid>
		<description>John
I cant quite get it to work either.
If I change the statement shp = visio.activewindow.selction(1) to Set shp =visio.activewindow.selection(1), I get past the first error but then I get error 91 at ln = liuShp.LengthIU(shp), presumably because something has gone wrong in the function.  If anyone can throw any light on this I would be grateful.

Regards
Neil Keron</description>
		<content:encoded><![CDATA[<p>John<br />
I cant quite get it to work either.<br />
If I change the statement shp = visio.activewindow.selction(1) to Set shp =visio.activewindow.selection(1), I get past the first error but then I get error 91 at ln = liuShp.LengthIU(shp), presumably because something has gone wrong in the function.  If anyone can throw any light on this I would be grateful.</p>
<p>Regards<br />
Neil Keron</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/comment-page-1/#comment-21940</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 05 Mar 2009 18:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/#comment-21940</guid>
		<description>This looks great, but I can&#039;t quite get it to work. I get the old error 91, &#039;Object variable or with block variable not set&#039; error here:

shp = Visio.ActiveWindow.Selection(1)

A few debugs show that there is an instance, and it can be assigned to shp if that is a Variant. But no joy if &quot;Dim shp As Visio.Shape&quot;

Any tips appreciated.</description>
		<content:encoded><![CDATA[<p>This looks great, but I can&#8217;t quite get it to work. I get the old error 91, &#8216;Object variable or with block variable not set&#8217; error here:</p>
<p>shp = Visio.ActiveWindow.Selection(1)</p>
<p>A few debugs show that there is an instance, and it can be assigned to shp if that is a Variant. But no joy if &#8220;Dim shp As Visio.Shape&#8221;</p>
<p>Any tips appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/comment-page-1/#comment-14977</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Tue, 06 Nov 2007 22:08:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/#comment-14977</guid>
		<description>Mark

Thanks for the tip on the arguments, don&#039;t know how I missed those!

And the info in the link is cool. Foks, it looks like that in general, Data Graphic sub-shapes won&#039;t be included in the LengthIU and AreaIU calculations! See Mark&#039;s link above for more info!

- Chris</description>
		<content:encoded><![CDATA[<p>Mark</p>
<p>Thanks for the tip on the arguments, don&#8217;t know how I missed those!</p>
<p>And the info in the link is cool. Foks, it looks like that in general, Data Graphic sub-shapes won&#8217;t be included in the LengthIU and AreaIU calculations! See Mark&#8217;s link above for more info!</p>
<p>- Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/comment-page-1/#comment-14975</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Tue, 06 Nov 2007 22:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/#comment-14975</guid>
		<description>Bryan, 

Are your quote marks the simple ones or the 66 99 quote marks? I noticed a problem when cutting from the blog and pasting in the VBA editor...

- Chris</description>
		<content:encoded><![CDATA[<p>Bryan, </p>
<p>Are your quote marks the simple ones or the 66 99 quote marks? I noticed a problem when cutting from the blog and pasting in the VBA editor&#8230;</p>
<p>- Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Nelson (MS)</title>
		<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/comment-page-1/#comment-14649</link>
		<dc:creator>Mark Nelson (MS)</dc:creator>
		<pubDate>Fri, 02 Nov 2007 05:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/#comment-14649</guid>
		<description>Hi Chris,

Note that starting in Visio 2003, the LengthIU and AreaIU properties take an argument indicating whether sub-shapes should be included.  Also note that there are special exclusions for Data Graphic callouts as mentioned in the Visio 2007 help topics.

http://msdn2.microsoft.com/en-us/library/ms196113.aspx

Mark</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Note that starting in Visio 2003, the LengthIU and AreaIU properties take an argument indicating whether sub-shapes should be included.  Also note that there are special exclusions for Data Graphic callouts as mentioned in the Visio 2007 help topics.</p>
<p><a  href="http://msdn2.microsoft.com/en-us/library/ms196113.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/ms196113.aspx</a></p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/comment-page-1/#comment-14502</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Wed, 31 Oct 2007 00:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/#comment-14502</guid>
		<description>I have been looking for something like this for Visio 2003, but when I created the class, as per your directions, I kept getting errors, both compile time and run-time, the most common of which is: &#039;Object variable or With block variable not set.</description>
		<content:encoded><![CDATA[<p>I have been looking for something like this for Visio 2003, but when I created the class, as per your directions, I kept getting errors, both compile time and run-time, the most common of which is: &#8216;Object variable or With block variable not set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visio Guy</title>
		<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/comment-page-1/#comment-14007</link>
		<dc:creator>Visio Guy</dc:creator>
		<pubDate>Mon, 22 Oct 2007 17:30:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/#comment-14007</guid>
		<description>Thanks Al! 

It&#039;s a 2003-only bug folks!</description>
		<content:encoded><![CDATA[<p>Thanks Al! </p>
<p>It&#8217;s a 2003-only bug folks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: al edlund</title>
		<link>http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/comment-page-1/#comment-14002</link>
		<dc:creator>al edlund</dc:creator>
		<pubDate>Mon, 22 Oct 2007 16:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.visguy.com/2007/10/20/lengthiu-bug-workaround-code/#comment-14002</guid>
		<description>Chris,
this was one that showed up in 2003,
al</description>
		<content:encoded><![CDATA[<p>Chris,<br />
this was one that showed up in 2003,<br />
al</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 7/20 queries in 0.009 seconds using disk: basic
Object Caching 469/473 objects using disk: basic
Content Delivery Network via N/A

Served from: www.visguy.com @ 2012-02-11 01:37:36 -->
