I am trying to do an upload to let a general ledger system know when checks are paid (reconciled).
To do so, I must upload all checks that are not left outstanding on the bank reconciliation.
If a check is on the bank reconciliation, I need to remove it from the Bank History report that shows all checks issued.
There are multiple entities 8100, 8200, 8300, etc. The tabs that have the same exact sheet name (8100, 8200, 8300 etc.) is the bank history report formatted for the upload to work. They have Check numbers in column C and amounts in column F.
The outstanding check worksheets are entitled 8100 Rec, 8200 Rec, 8300 Rec, etc. (short for Reconciliation). In those sheets the Check number is in column A and amounts are in column B.
I am looking for VBA code that will have 2 parts.
1) Go through the worksheets, wherever it sees a tab name with 4 numbers, match it up to the 4 number + Rec tab. i.e. 8100 to 8100 Rec, 8200 to 8200 Rec.
2) Then if a check and amount from the Rec tab matches up with a check and amount from the matching tab (i.e. 8100 Rec to 8100). I want the check and matching amount to be deleted from the matching tab (i.e. 8100)
Below is an example of the original sheet with check number in C and amounts in F.
<tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="align: right"]8100[/TD]
[TD="align: right"]18719[/TD]
[TD="align: right"]11/28/2014[/TD]
[TD="align: right"]15[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]8100[/TD]
[TD="align: right"]19449[/TD]
[TD="align: right"]1/2/2015[/TD]
[TD="align: right"]20[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]8100[/TD]
[TD="align: right"]20187[/TD]
[TD="align: right"]2/12/2015[/TD]
[TD="align: right"]20[/TD]
</tbody>
To do so, I must upload all checks that are not left outstanding on the bank reconciliation.
If a check is on the bank reconciliation, I need to remove it from the Bank History report that shows all checks issued.
There are multiple entities 8100, 8200, 8300, etc. The tabs that have the same exact sheet name (8100, 8200, 8300 etc.) is the bank history report formatted for the upload to work. They have Check numbers in column C and amounts in column F.
The outstanding check worksheets are entitled 8100 Rec, 8200 Rec, 8300 Rec, etc. (short for Reconciliation). In those sheets the Check number is in column A and amounts are in column B.
I am looking for VBA code that will have 2 parts.
1) Go through the worksheets, wherever it sees a tab name with 4 numbers, match it up to the 4 number + Rec tab. i.e. 8100 to 8100 Rec, 8200 to 8200 Rec.
2) Then if a check and amount from the Rec tab matches up with a check and amount from the matching tab (i.e. 8100 Rec to 8100). I want the check and matching amount to be deleted from the matching tab (i.e. 8100)
Below is an example of the original sheet with check number in C and amounts in F.
* | A | B | C | D | E | F |
CHK | * | |||||
CHK | * | |||||
CHK | * |
<tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="align: right"]8100[/TD]
[TD="align: right"]18719[/TD]
[TD="align: right"]11/28/2014[/TD]
[TD="align: right"]15[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]8100[/TD]
[TD="align: right"]19449[/TD]
[TD="align: right"]1/2/2015[/TD]
[TD="align: right"]20[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]8100[/TD]
[TD="align: right"]20187[/TD]
[TD="align: right"]2/12/2015[/TD]
[TD="align: right"]20[/TD]
</tbody>