<?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 Re: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300948#M67160</link>
    <description>Is your print range too large?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
www.AcadX.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Mark" &lt;MARK&gt; wrote in message&lt;BR /&gt;
news:D9EA54E8FAD6D0ED6F58A513A2587F44@in.WebX.maYIadrTaRb...&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;BR /&gt;
| thanks&lt;BR /&gt;
|&lt;BR /&gt;
| but tis method is giving me about 100 more rows,&lt;BR /&gt;
| i am not able to figure out why&lt;BR /&gt;
|&lt;BR /&gt;
| mark&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;BR /&gt;
| "Kent Keller" &lt;KENT&gt; wrote in message&lt;BR /&gt;
| news:02B877F5A2873848C9364359F041EF10@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| &amp;gt; I got this from Gary McMaster a while back.  It works great.&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; Dim iMaxRow As Integer&lt;BR /&gt;
| &amp;gt; Dim iMaxCol As Integer&lt;BR /&gt;
| &amp;gt; Dim oXLUsed As Range&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; Set oXLUsed = oXLSheet.UsedRange        'The entire used area of the&lt;BR /&gt;
sheet&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; iMaxCol = oXLUsed.Columns(oXLUsed.Columns.Count).column 'Highest column&lt;BR /&gt;
| number of the&lt;BR /&gt;
| &amp;gt; "Used range"&lt;BR /&gt;
| &amp;gt; iMaxRow = oXLUsed.Rows(oXLUsed.Rows.Count).Row          'Highest row&lt;BR /&gt;
| number of the "Used&lt;BR /&gt;
| &amp;gt; range"&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; --&lt;BR /&gt;
| &amp;gt; Kent&lt;BR /&gt;
| &amp;gt; Member of the Autodesk Discussion Forum Moderator Program&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; "Mark" &lt;MARK&gt; wrote in message&lt;BR /&gt;
| &amp;gt; news:9CC5C29235AD79BE64DA43156C795873@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| &amp;gt; &amp;gt; hello all&lt;BR /&gt;
| &amp;gt; &amp;gt;&lt;BR /&gt;
| &amp;gt; &amp;gt; how to detect the maximum used&lt;BR /&gt;
| &amp;gt; &amp;gt; range in a excel spreadsheet, or&lt;BR /&gt;
| &amp;gt; &amp;gt; the max column and the max row&lt;BR /&gt;
| &amp;gt; &amp;gt;&lt;BR /&gt;
| &amp;gt; &amp;gt; thanks&lt;BR /&gt;
| &amp;gt; &amp;gt; mark&lt;BR /&gt;
| &amp;gt; &amp;gt;&lt;BR /&gt;
| &amp;gt; &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;/MARK&gt;&lt;/KENT&gt;&lt;/MARK&gt;</description>
    <pubDate>Thu, 02 Jan 2003 11:54:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-01-02T11:54:14Z</dc:date>
    <item>
      <title>excel range size</title>
      <link>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300944#M67156</link>
      <description>hello all&lt;BR /&gt;
&lt;BR /&gt;
how to detect the maximum used&lt;BR /&gt;
range in a excel spreadsheet, or&lt;BR /&gt;
the max column and the max row&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;BR /&gt;
mark</description>
      <pubDate>Thu, 02 Jan 2003 10:53:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300944#M67156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-02T10:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: excel range size</title>
      <link>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300945#M67157</link>
      <description>Use the .UsedRange property of Excel.&lt;BR /&gt;
&lt;BR /&gt;
Joe&lt;BR /&gt;
--</description>
      <pubDate>Thu, 02 Jan 2003 11:37:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300945#M67157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-02T11:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: excel range size</title>
      <link>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300946#M67158</link>
      <description>I got this from Gary McMaster a while back.  It works great.&lt;BR /&gt;
&lt;BR /&gt;
Dim iMaxRow As Integer&lt;BR /&gt;
Dim iMaxCol As Integer&lt;BR /&gt;
Dim oXLUsed As Range&lt;BR /&gt;
&lt;BR /&gt;
Set oXLUsed = oXLSheet.UsedRange        'The entire used area of the sheet&lt;BR /&gt;
&lt;BR /&gt;
iMaxCol = oXLUsed.Columns(oXLUsed.Columns.Count).column 'Highest column number of the&lt;BR /&gt;
"Used range"&lt;BR /&gt;
iMaxRow = oXLUsed.Rows(oXLUsed.Rows.Count).Row          'Highest row number of the "Used&lt;BR /&gt;
range"&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Kent&lt;BR /&gt;
Member of the Autodesk Discussion Forum Moderator Program&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Mark" &lt;MARK&gt; wrote in message&lt;BR /&gt;
news:9CC5C29235AD79BE64DA43156C795873@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; hello all&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; how to detect the maximum used&lt;BR /&gt;
&amp;gt; range in a excel spreadsheet, or&lt;BR /&gt;
&amp;gt; the max column and the max row&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; thanks&lt;BR /&gt;
&amp;gt; mark&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/MARK&gt;</description>
      <pubDate>Thu, 02 Jan 2003 11:37:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300946#M67158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-02T11:37:24Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300947#M67159</link>
      <description>thanks&lt;BR /&gt;
&lt;BR /&gt;
but tis method is giving me about 100 more rows,&lt;BR /&gt;
i am not able to figure out why&lt;BR /&gt;
&lt;BR /&gt;
mark&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Kent Keller" &lt;KENT&gt; wrote in message&lt;BR /&gt;
news:02B877F5A2873848C9364359F041EF10@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; I got this from Gary McMaster a while back.  It works great.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Dim iMaxRow As Integer&lt;BR /&gt;
&amp;gt; Dim iMaxCol As Integer&lt;BR /&gt;
&amp;gt; Dim oXLUsed As Range&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; Set oXLUsed = oXLSheet.UsedRange        'The entire used area of the sheet&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; iMaxCol = oXLUsed.Columns(oXLUsed.Columns.Count).column 'Highest column&lt;BR /&gt;
number of the&lt;BR /&gt;
&amp;gt; "Used range"&lt;BR /&gt;
&amp;gt; iMaxRow = oXLUsed.Rows(oXLUsed.Rows.Count).Row          'Highest row&lt;BR /&gt;
number of the "Used&lt;BR /&gt;
&amp;gt; range"&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; --&lt;BR /&gt;
&amp;gt; Kent&lt;BR /&gt;
&amp;gt; Member of the Autodesk Discussion Forum Moderator Program&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; "Mark" &lt;MARK&gt; wrote in message&lt;BR /&gt;
&amp;gt; news:9CC5C29235AD79BE64DA43156C795873@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; &amp;gt; hello all&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; how to detect the maximum used&lt;BR /&gt;
&amp;gt; &amp;gt; range in a excel spreadsheet, or&lt;BR /&gt;
&amp;gt; &amp;gt; the max column and the max row&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; thanks&lt;BR /&gt;
&amp;gt; &amp;gt; mark&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/MARK&gt;&lt;/KENT&gt;</description>
      <pubDate>Thu, 02 Jan 2003 11:48:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300947#M67159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-02T11:48:32Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300948#M67160</link>
      <description>Is your print range too large?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
R. Robert Bell, MCSE&lt;BR /&gt;
www.AcadX.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Mark" &lt;MARK&gt; wrote in message&lt;BR /&gt;
news:D9EA54E8FAD6D0ED6F58A513A2587F44@in.WebX.maYIadrTaRb...&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;BR /&gt;
| thanks&lt;BR /&gt;
|&lt;BR /&gt;
| but tis method is giving me about 100 more rows,&lt;BR /&gt;
| i am not able to figure out why&lt;BR /&gt;
|&lt;BR /&gt;
| mark&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;BR /&gt;
| "Kent Keller" &lt;KENT&gt; wrote in message&lt;BR /&gt;
| news:02B877F5A2873848C9364359F041EF10@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| &amp;gt; I got this from Gary McMaster a while back.  It works great.&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; Dim iMaxRow As Integer&lt;BR /&gt;
| &amp;gt; Dim iMaxCol As Integer&lt;BR /&gt;
| &amp;gt; Dim oXLUsed As Range&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; Set oXLUsed = oXLSheet.UsedRange        'The entire used area of the&lt;BR /&gt;
sheet&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; iMaxCol = oXLUsed.Columns(oXLUsed.Columns.Count).column 'Highest column&lt;BR /&gt;
| number of the&lt;BR /&gt;
| &amp;gt; "Used range"&lt;BR /&gt;
| &amp;gt; iMaxRow = oXLUsed.Rows(oXLUsed.Rows.Count).Row          'Highest row&lt;BR /&gt;
| number of the "Used&lt;BR /&gt;
| &amp;gt; range"&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; --&lt;BR /&gt;
| &amp;gt; Kent&lt;BR /&gt;
| &amp;gt; Member of the Autodesk Discussion Forum Moderator Program&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt; "Mark" &lt;MARK&gt; wrote in message&lt;BR /&gt;
| &amp;gt; news:9CC5C29235AD79BE64DA43156C795873@in.WebX.maYIadrTaRb...&lt;BR /&gt;
| &amp;gt; &amp;gt; hello all&lt;BR /&gt;
| &amp;gt; &amp;gt;&lt;BR /&gt;
| &amp;gt; &amp;gt; how to detect the maximum used&lt;BR /&gt;
| &amp;gt; &amp;gt; range in a excel spreadsheet, or&lt;BR /&gt;
| &amp;gt; &amp;gt; the max column and the max row&lt;BR /&gt;
| &amp;gt; &amp;gt;&lt;BR /&gt;
| &amp;gt; &amp;gt; thanks&lt;BR /&gt;
| &amp;gt; &amp;gt; mark&lt;BR /&gt;
| &amp;gt; &amp;gt;&lt;BR /&gt;
| &amp;gt; &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
| &amp;gt;&lt;BR /&gt;
|&lt;BR /&gt;
|&lt;/MARK&gt;&lt;/KENT&gt;&lt;/MARK&gt;</description>
      <pubDate>Thu, 02 Jan 2003 11:54:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300948#M67160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-02T11:54:14Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300949#M67161</link>
      <description>I have found that if you delete rows by highlighting them and then using the delete Key&lt;BR /&gt;
instead of going to the edit menu and using delete that it still thinks they are being&lt;BR /&gt;
used at least in Excel 97.  Could that possibly be the issue?&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Kent&lt;BR /&gt;
Member of the Autodesk Discussion Forum Moderator Program&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Mark" &lt;MARK&gt; wrote in message&lt;BR /&gt;
news:D9EA54E8FAD6D0ED6F58A513A2587F44@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; thanks&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; but tis method is giving me about 100 more rows,&lt;BR /&gt;
&amp;gt; i am not able to figure out why&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; mark&lt;/MARK&gt;</description>
      <pubDate>Thu, 02 Jan 2003 12:02:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300949#M67161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-02T12:02:20Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300950#M67162</link>
      <description>Excel doesn't reset its UsedRange until you close and re-open the file.&lt;BR /&gt;
Until then there's extra rows if you deleted data, changed formatting, etc.&lt;BR /&gt;
&lt;BR /&gt;
You can use the following from&lt;BR /&gt;
http://www.microsoftexceltraining.com/VBA/ExcelRanges.htm.  Check out the&lt;BR /&gt;
website for related hints:&lt;BR /&gt;
&lt;BR /&gt;
'Find the very last used cell in a Column:&lt;BR /&gt;
   Range("A65536").End(xlup).Select&lt;BR /&gt;
&lt;BR /&gt;
It's like going to the bottom of the column and hitting CTRL-UP.&lt;BR /&gt;
&lt;BR /&gt;
James&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; but tis method is giving me about 100 more rows,&lt;BR /&gt;
&amp;gt;</description>
      <pubDate>Thu, 02 Jan 2003 12:29:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300950#M67162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-02T12:29:14Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300951#M67163</link>
      <description>thanks to all&lt;BR /&gt;
i had to delete contents in the range&lt;BR /&gt;
below my last row, then save,&lt;BR /&gt;
and it works fine now&lt;BR /&gt;
mark&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"James Belshan" &lt;JLBELSHAN&gt; wrote in message&lt;BR /&gt;
news:5F13B853F8FD5FCD33D70C6C81D2D755@in.WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; Excel doesn't reset its UsedRange until you close and re-open the file.&lt;BR /&gt;
&amp;gt; Until then there's extra rows if you deleted data, changed formatting,&lt;BR /&gt;
etc.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; You can use the following from&lt;BR /&gt;
&amp;gt; http://www.microsoftexceltraining.com/VBA/ExcelRanges.htm.  Check out the&lt;BR /&gt;
&amp;gt; website for related hints:&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; 'Find the very last used cell in a Column:&lt;BR /&gt;
&amp;gt;    Range("A65536").End(xlup).Select&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; It's like going to the bottom of the column and hitting CTRL-UP.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; James&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt; &amp;gt; but tis method is giving me about 100 more rows,&lt;BR /&gt;
&amp;gt; &amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/JLBELSHAN&gt;</description>
      <pubDate>Thu, 02 Jan 2003 13:30:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/excel-range-size/m-p/300951#M67163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-01-02T13:30:25Z</dc:date>
    </item>
  </channel>
</rss>

