<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Zoom WIndow points in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/zoom-window-points/m-p/1577082#M36154</link>
    <description>I am trying to put together some X and Y values as coordinates for a Zoom Window.  I've gotten the X and Y values by running through a series of objects and getting their minimum and maximum coordinates.&lt;BR /&gt;
&lt;BR /&gt;
I keep getting an error "Invalid argument LowerLeft in ZoomWindow"&lt;BR /&gt;
&lt;BR /&gt;
Here's what I'm trying to use... (minX, etc are from related sub)&lt;BR /&gt;
&lt;BR /&gt;
Sub ZoomWinPts(minX, minY, maxX, maxY)&lt;BR /&gt;
Dim zwp1(0 To 2) As Variant&lt;BR /&gt;
Dim zwp2(0 To 2) As Variant&lt;BR /&gt;
zwp1(0) = minX&lt;BR /&gt;
zwp1(1) = minY&lt;BR /&gt;
zwp1(2) = 0&lt;BR /&gt;
zwp2(0) = maxX&lt;BR /&gt;
zwp2(1) = maxY&lt;BR /&gt;
zwp2(2) = 0&lt;BR /&gt;
Application.ZoomWindow zwp1, zwp2&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
Anyone want to clue me in on where I'm going wrong?</description>
    <pubDate>Thu, 09 Mar 2006 21:39:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-03-09T21:39:48Z</dc:date>
    <item>
      <title>Zoom WIndow points</title>
      <link>https://forums.autodesk.com/t5/vba-forum/zoom-window-points/m-p/1577082#M36154</link>
      <description>I am trying to put together some X and Y values as coordinates for a Zoom Window.  I've gotten the X and Y values by running through a series of objects and getting their minimum and maximum coordinates.&lt;BR /&gt;
&lt;BR /&gt;
I keep getting an error "Invalid argument LowerLeft in ZoomWindow"&lt;BR /&gt;
&lt;BR /&gt;
Here's what I'm trying to use... (minX, etc are from related sub)&lt;BR /&gt;
&lt;BR /&gt;
Sub ZoomWinPts(minX, minY, maxX, maxY)&lt;BR /&gt;
Dim zwp1(0 To 2) As Variant&lt;BR /&gt;
Dim zwp2(0 To 2) As Variant&lt;BR /&gt;
zwp1(0) = minX&lt;BR /&gt;
zwp1(1) = minY&lt;BR /&gt;
zwp1(2) = 0&lt;BR /&gt;
zwp2(0) = maxX&lt;BR /&gt;
zwp2(1) = maxY&lt;BR /&gt;
zwp2(2) = 0&lt;BR /&gt;
Application.ZoomWindow zwp1, zwp2&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
Anyone want to clue me in on where I'm going wrong?</description>
      <pubDate>Thu, 09 Mar 2006 21:39:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/zoom-window-points/m-p/1577082#M36154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-09T21:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom WIndow points</title>
      <link>https://forums.autodesk.com/t5/vba-forum/zoom-window-points/m-p/1577083#M36155</link>
      <description>You need to use Doubles, not Variants.....&lt;BR /&gt;
&lt;BR /&gt;
&lt;MONTANA.FOX&gt; wrote in message news:5106778@discussion.autodesk.com...&lt;BR /&gt;
I keep getting an error "Invalid argument LowerLeft in ZoomWindow"&lt;BR /&gt;
&lt;BR /&gt;
Sub ZoomWinPts(minX, minY, maxX, maxY)&lt;BR /&gt;
Dim zwp1(0 To 2) As Variant&lt;BR /&gt;
Dim zwp2(0 To 2) As Variant&lt;BR /&gt;
&lt;BR /&gt;
Anyone want to clue me in on where I'm going wrong?&lt;/MONTANA.FOX&gt;</description>
      <pubDate>Thu, 09 Mar 2006 21:46:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/zoom-window-points/m-p/1577083#M36155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-09T21:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom WIndow points</title>
      <link>https://forums.autodesk.com/t5/vba-forum/zoom-window-points/m-p/1577084#M36156</link>
      <description>Sweet!  That's perfect, thanks.</description>
      <pubDate>Thu, 09 Mar 2006 21:54:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/zoom-window-points/m-p/1577084#M36156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-09T21:54:52Z</dc:date>
    </item>
  </channel>
</rss>

