Hi,
Is there a macro that can check date vs time? No overlap on time vs date.
Row 6 date is wrong because the time is only from 1900 hrs of to 2000hrs on. Date must be 8 not 9.
Example :
<table border="0" cellpadding="0" cellspacing="0" width="494"><col style="mso-width-source:userset;mso-width-alt:2121;width:44pt" width="58"> <col style="mso-width-source:userset;mso-width-alt:1938;width:40pt" width="53"> <col style="mso-width-source:userset;mso-width-alt:1097;width:23pt" width="30"> <col style="mso-width-source:userset;mso-width-alt:1243;width:26pt" width="34"> <col style="mso-width-source:userset;mso-width-alt:1462;width:30pt" width="40"> <col style="mso-width-source:userset;mso-width-alt:1901;width:39pt" width="52"> <col style="mso-width-source:userset;mso-width-alt:2450;width:50pt" width="67"> <col style="mso-width-source:userset;mso-width-alt:2011;width:41pt" width="55"> <col style="mso-width-source:userset;mso-width-alt:2121;width:44pt" width="58"> <col style="mso-width-source:userset;mso-width-alt:1718;width:35pt" width="47"> <tbody><tr style="height:38.25pt" height="51"> <td class="xl65" style="height:38.25pt;width:44pt" height="51" width="58">Package</td> <td class="xl65" style="width:40pt" width="53">MONTH</td> <td class="xl65" style="width:23pt" width="30">Day</td> <td class="xl65" style="width:26pt" width="34">Year</td> <td class="xl65" style="width:30pt" width="40">Letter</td> <td class="xl65" style="width:39pt" width="52">Number</td> <td class="xl69" style="width:50pt" width="67">TIME- ON HRS</td> <td class="xl69" style="width:41pt" width="55">TIME-ON MINS</td> <td class="xl69" style="width:44pt" width="58">TIME-OFF HRS</td> <td class="xl69" style="width:35pt" width="47">TIME-OFF MINS</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">7</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">1</td> <td class="xl71" style="width:50pt" width="67">11</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">15</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">7</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">2</td> <td class="xl71" style="width:50pt" width="67">15</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">21</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">7</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">3</td> <td class="xl71" style="width:50pt" width="67">22</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">08</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">8</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">4</td> <td class="xl71" style="width:50pt" width="67">08</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">15</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">8</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl70">5</td> <td class="xl71" style="width:50pt" width="67">15</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl72" style="width:44pt" width="58">19</td> <td class="xl73" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl70">9</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">6</td> <td class="xl72" style="width:50pt" width="67">20</td> <td class="xl73" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">08</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">9</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">7</td> <td class="xl71" style="width:50pt" width="67">09</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">13</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">9</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">8</td> <td class="xl71" style="width:50pt" width="67">13</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">17</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">9</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">9</td> <td class="xl71" style="width:50pt" width="67">17</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">04</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">10</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">10</td> <td class="xl71" style="width:50pt" width="67">04</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">09</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">10</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">11</td> <td class="xl71" style="width:50pt" width="67">10</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">12</td> <td class="xl71" style="width:35pt" width="47">30</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">10</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">12</td> <td class="xl71" style="width:50pt" width="67">13</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">16</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> </tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="451"><col style="mso-width-source:userset;mso-width-alt:2121;width:44pt" width="58"> <col style="mso-width-source:userset;mso-width-alt:1938;width:40pt" width="53"> <col style="mso-width-source:userset;mso-width-alt:1097;width:23pt" width="30"> <col style="mso-width-source:userset;mso-width-alt:1243;width:26pt" width="34"> <col style="mso-width-source:userset;mso-width-alt:1462;width:30pt" width="40"> <col style="mso-width-source:userset;mso-width-alt:1901;width:39pt" width="52"> <col style="mso-width-source:userset;mso-width-alt:1682; width:35pt" span="4" width="46"> <tbody><tr style="height:12.75pt" height="17"><td class="xl64" style="height:12.75pt" height="17">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td></tr><tr style="height:12.75pt" height="17"><td class="xl64" style="height:12.75pt" height="17">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td></tr><tr style="height:12.75pt" height="17"><td class="xl64" style="height:12.75pt" height="17">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl66">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl68" style="width:35pt" width="46">
</td><td class="xl69" style="width:35pt" width="46">
</td></tr><tr style="height:12.75pt" height="17"><td class="xl64" style="height:12.75pt" height="17">
</td><td class="xl64">
</td><td class="xl66">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl68" style="width:35pt" width="46">
</td><td class="xl69" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td></tr></tbody></table>
Is there a macro that can check date vs time? No overlap on time vs date.
Row 6 date is wrong because the time is only from 1900 hrs of to 2000hrs on. Date must be 8 not 9.
Example :
<table border="0" cellpadding="0" cellspacing="0" width="494"><col style="mso-width-source:userset;mso-width-alt:2121;width:44pt" width="58"> <col style="mso-width-source:userset;mso-width-alt:1938;width:40pt" width="53"> <col style="mso-width-source:userset;mso-width-alt:1097;width:23pt" width="30"> <col style="mso-width-source:userset;mso-width-alt:1243;width:26pt" width="34"> <col style="mso-width-source:userset;mso-width-alt:1462;width:30pt" width="40"> <col style="mso-width-source:userset;mso-width-alt:1901;width:39pt" width="52"> <col style="mso-width-source:userset;mso-width-alt:2450;width:50pt" width="67"> <col style="mso-width-source:userset;mso-width-alt:2011;width:41pt" width="55"> <col style="mso-width-source:userset;mso-width-alt:2121;width:44pt" width="58"> <col style="mso-width-source:userset;mso-width-alt:1718;width:35pt" width="47"> <tbody><tr style="height:38.25pt" height="51"> <td class="xl65" style="height:38.25pt;width:44pt" height="51" width="58">Package</td> <td class="xl65" style="width:40pt" width="53">MONTH</td> <td class="xl65" style="width:23pt" width="30">Day</td> <td class="xl65" style="width:26pt" width="34">Year</td> <td class="xl65" style="width:30pt" width="40">Letter</td> <td class="xl65" style="width:39pt" width="52">Number</td> <td class="xl69" style="width:50pt" width="67">TIME- ON HRS</td> <td class="xl69" style="width:41pt" width="55">TIME-ON MINS</td> <td class="xl69" style="width:44pt" width="58">TIME-OFF HRS</td> <td class="xl69" style="width:35pt" width="47">TIME-OFF MINS</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">7</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">1</td> <td class="xl71" style="width:50pt" width="67">11</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">15</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">7</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">2</td> <td class="xl71" style="width:50pt" width="67">15</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">21</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">7</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">3</td> <td class="xl71" style="width:50pt" width="67">22</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">08</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">8</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">4</td> <td class="xl71" style="width:50pt" width="67">08</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">15</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">8</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl70">5</td> <td class="xl71" style="width:50pt" width="67">15</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl72" style="width:44pt" width="58">19</td> <td class="xl73" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl70">9</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">6</td> <td class="xl72" style="width:50pt" width="67">20</td> <td class="xl73" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">08</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">9</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">7</td> <td class="xl71" style="width:50pt" width="67">09</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">13</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">9</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">8</td> <td class="xl71" style="width:50pt" width="67">13</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">17</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">9</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">9</td> <td class="xl71" style="width:50pt" width="67">17</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">04</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">10</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">10</td> <td class="xl71" style="width:50pt" width="67">04</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">09</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">10</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">11</td> <td class="xl71" style="width:50pt" width="67">10</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">12</td> <td class="xl71" style="width:35pt" width="47">30</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl67" style="height:12.75pt" height="17">1</td> <td class="xl67">2</td> <td class="xl67">10</td> <td class="xl67">11</td> <td class="xl67">P</td> <td class="xl67">12</td> <td class="xl71" style="width:50pt" width="67">13</td> <td class="xl71" style="width:41pt" width="55">00</td> <td class="xl71" style="width:44pt" width="58">16</td> <td class="xl71" style="width:35pt" width="47">00</td> </tr> </tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="451"><col style="mso-width-source:userset;mso-width-alt:2121;width:44pt" width="58"> <col style="mso-width-source:userset;mso-width-alt:1938;width:40pt" width="53"> <col style="mso-width-source:userset;mso-width-alt:1097;width:23pt" width="30"> <col style="mso-width-source:userset;mso-width-alt:1243;width:26pt" width="34"> <col style="mso-width-source:userset;mso-width-alt:1462;width:30pt" width="40"> <col style="mso-width-source:userset;mso-width-alt:1901;width:39pt" width="52"> <col style="mso-width-source:userset;mso-width-alt:1682; width:35pt" span="4" width="46"> <tbody><tr style="height:12.75pt" height="17"><td class="xl64" style="height:12.75pt" height="17">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td></tr><tr style="height:12.75pt" height="17"><td class="xl64" style="height:12.75pt" height="17">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td></tr><tr style="height:12.75pt" height="17"><td class="xl64" style="height:12.75pt" height="17">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl66">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl68" style="width:35pt" width="46">
</td><td class="xl69" style="width:35pt" width="46">
</td></tr><tr style="height:12.75pt" height="17"><td class="xl64" style="height:12.75pt" height="17">
</td><td class="xl64">
</td><td class="xl66">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl64">
</td><td class="xl68" style="width:35pt" width="46">
</td><td class="xl69" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td><td class="xl67" style="width:35pt" width="46">
</td></tr></tbody></table>