<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://ocotal.iarc.uaf.edu/index.php?action=history&amp;feed=atom&amp;title=Double_Line_Delete</id>
	<title>Double Line Delete - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://ocotal.iarc.uaf.edu/index.php?action=history&amp;feed=atom&amp;title=Double_Line_Delete"/>
	<link rel="alternate" type="text/html" href="http://ocotal.iarc.uaf.edu/index.php?title=Double_Line_Delete&amp;action=history"/>
	<updated>2026-05-12T21:49:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://ocotal.iarc.uaf.edu/index.php?title=Double_Line_Delete&amp;diff=739&amp;oldid=prev</id>
		<title>137.229.71.165 at 20:59, 1 August 2008</title>
		<link rel="alternate" type="text/html" href="http://ocotal.iarc.uaf.edu/index.php?title=Double_Line_Delete&amp;diff=739&amp;oldid=prev"/>
		<updated>2008-08-01T20:59:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Use this Macro to delete duplicate lines from the online shand data (off the WERC website).  This data appears sometimes do to hiccups in the syncing stuff.  So, if you run this macro here you'll delete the incomplete first line of data and keep just the complete second line.&lt;br /&gt;
&lt;br /&gt;
See Bob for questions.&lt;br /&gt;
&lt;br /&gt;
 Sub deleter()&lt;br /&gt;
 '&lt;br /&gt;
 ' deleter Macro&lt;br /&gt;
 ' Macro recorded 7/30/2008 by&lt;br /&gt;
 ' &lt;br /&gt;
 ' &lt;br /&gt;
    Dim row As Long&lt;br /&gt;
    Dim nextrow As Long&lt;br /&gt;
    Dim curday As Double&lt;br /&gt;
    Dim curtime As Double&lt;br /&gt;
    Dim curdt As Double&lt;br /&gt;
    Dim nextday As Double&lt;br /&gt;
    Dim nexttime As Double&lt;br /&gt;
    Dim nextdt As Double&lt;br /&gt;
    Dim worksheetz As Integer&lt;br /&gt;
    Dim daycol As Integer&lt;br /&gt;
    Dim timecol As Integer&lt;br /&gt;
    worksheetz = 2&lt;br /&gt;
    row = 4&lt;br /&gt;
    daycol = 6&lt;br /&gt;
    timecol = 7&lt;br /&gt;
    curtime = Worksheets(worksheetz).Cells(row, timecol).Value&lt;br /&gt;
    curday = Worksheets(worksheetz).Cells(row, daycol).Value&lt;br /&gt;
    curdt = curday + curtime / 2400&lt;br /&gt;
    row = row + 1&lt;br /&gt;
    Do While Worksheets(worksheetz).Cells(row, daycol).Value &amp;lt;&amp;gt; &amp;quot;&amp;quot;&lt;br /&gt;
      nexttime = Worksheets(worksheetz).Cells(row, timecol).Value&lt;br /&gt;
      nextday = Worksheets(worksheetz).Cells(row, daycol).Value&lt;br /&gt;
      nextdt = nextday + nexttime / 2400&lt;br /&gt;
      If nextdt = curdt Then&lt;br /&gt;
            Rows(CStr(row - 1) &amp;amp; &amp;quot;:&amp;quot; &amp;amp; CStr(row - 1)).Select&lt;br /&gt;
            Selection.Delete Shift:=xlUp&lt;br /&gt;
      Else&lt;br /&gt;
        curdt = nextdt&lt;br /&gt;
        row = row + 1&lt;br /&gt;
      End If&lt;br /&gt;
    Loop   &lt;br /&gt;
 End Sub&lt;/div&gt;</summary>
		<author><name>137.229.71.165</name></author>
		
	</entry>
</feed>