<?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 VBA Help in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/vba-help/m-p/2492917#M1119</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I is new here and a complete PC thicky so take it easy ;)&lt;BR /&gt;&lt;BR /&gt;I need a Excel 97 macro that moves down 26 rows, hightlights the next 6 rows and deletes them, then moves down 26 rows, highlights next 6 rows and deletes them. Loops until a blank in column 1?&lt;BR /&gt;&lt;BR /&gt;Any help?&lt;BR /&gt;&lt;BR /&gt;This is my shamblee effort:&lt;BR /&gt;&lt;BR /&gt;Sub ad800_ind()&lt;BR /&gt;'&lt;BR /&gt;' ad800_ind Macro&lt;BR /&gt; Workbooks.OpenText FileName:="J:\GLOBCUST\UTA\AD800.txt", Origin:=xlWindows _&lt;BR /&gt;        , StartRow:=1, DataType:=xlFixedWidth, FieldInfo:=Array(0, 1)&lt;BR /&gt;&lt;BR /&gt;    Rows("1:35").Select&lt;BR /&gt;    Selection.Delete Shift:=xlUp&lt;BR /&gt;    y = 1&lt;BR /&gt;    Do Until Cells(y, 1) = ""&lt;BR /&gt;    'Rows("y:y+5").Select&lt;BR /&gt;    Selection.Delete Shift:=x1up&lt;BR /&gt;    y = y + 26&lt;BR /&gt;    Loop&lt;BR /&gt;    &lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;Help please&lt;BR /&gt;&lt;BR /&gt;Thankyou :)</description>
    <pubDate>Tue, 13 Feb 2001 10:55:52 GMT</pubDate>
    <dc:creator>Peter Edwards</dc:creator>
    <dc:date>2001-02-13T10:55:52Z</dc:date>
    <item>
      <title>VBA Help</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/vba-help/m-p/2492917#M1119</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I is new here and a complete PC thicky so take it easy ;)&lt;BR /&gt;&lt;BR /&gt;I need a Excel 97 macro that moves down 26 rows, hightlights the next 6 rows and deletes them, then moves down 26 rows, highlights next 6 rows and deletes them. Loops until a blank in column 1?&lt;BR /&gt;&lt;BR /&gt;Any help?&lt;BR /&gt;&lt;BR /&gt;This is my shamblee effort:&lt;BR /&gt;&lt;BR /&gt;Sub ad800_ind()&lt;BR /&gt;'&lt;BR /&gt;' ad800_ind Macro&lt;BR /&gt; Workbooks.OpenText FileName:="J:\GLOBCUST\UTA\AD800.txt", Origin:=xlWindows _&lt;BR /&gt;        , StartRow:=1, DataType:=xlFixedWidth, FieldInfo:=Array(0, 1)&lt;BR /&gt;&lt;BR /&gt;    Rows("1:35").Select&lt;BR /&gt;    Selection.Delete Shift:=xlUp&lt;BR /&gt;    y = 1&lt;BR /&gt;    Do Until Cells(y, 1) = ""&lt;BR /&gt;    'Rows("y:y+5").Select&lt;BR /&gt;    Selection.Delete Shift:=x1up&lt;BR /&gt;    y = y + 26&lt;BR /&gt;    Loop&lt;BR /&gt;    &lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;Help please&lt;BR /&gt;&lt;BR /&gt;Thankyou :)</description>
      <pubDate>Tue, 13 Feb 2001 10:55:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/vba-help/m-p/2492917#M1119</guid>
      <dc:creator>Peter Edwards</dc:creator>
      <dc:date>2001-02-13T10:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Help</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/vba-help/m-p/2492918#M1120</link>
      <description>Attached is a VB program I use for tracking volume sizes. &lt;BR /&gt;&lt;BR /&gt;A couple things to keep in mind:&lt;BR /&gt;1. Create a new excel application with&lt;BR /&gt;    Set oExcel = New Excel.Application&lt;BR /&gt;&lt;BR /&gt;2. Tell VB the location of the spread sheet&lt;BR /&gt;    Set oBook = oExcel.Workbooks.Open _&lt;BR /&gt;    ("C:\daily_checks\" + strYear + "\"+       strMonth + "\" + _&lt;BR /&gt;        strMonth + strYear + ".xls")&lt;BR /&gt;&lt;BR /&gt;3. Set an active sheet.&lt;BR /&gt;   Set oSheet = oExcel.ActiveSheet&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4. If you create a macro to do what you are trying to do, then go in a edit the macro, you should be able to get a basic understanding of the commands you need to execute to accomplish this.&lt;BR /&gt;&lt;BR /&gt;Hope this helps</description>
      <pubDate>Wed, 14 Feb 2001 13:36:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/vba-help/m-p/2492918#M1120</guid>
      <dc:creator>Ron Bromwell</dc:creator>
      <dc:date>2001-02-14T13:36:12Z</dc:date>
    </item>
  </channel>
</rss>

