You two are wayyyy tooooo smart for me. Cajun, here is the code. It is on the kindergarten level, but I will improve as I go along:
Option Compare Database
Private Sub Form_Close()
'When the form closes, all textboxes, lines, and boxes, are visible.
A1.Visible = True
A2.Visible = True
A3.Visible = True
A4.Visible = True
A5.Visible = True
A6.Visible = True
A7.Visible = True
A8.Visible = True
A9.Visible = True
A10.Visible = True
A11.Visible = True
A12.Visible = True
A13.Visible = True
A14.Visible = True
A15.Visible = True
A16.Visible = True
A17.Visible = True
A18.Visible = True
A19.Visible = True
A20.Visible = True
A21.Visible = True
A22.Visible = True
A23.Visible = True
A24.Visible = True
A25.Visible = True
A26.Visible = True
A27.Visible = True
A28.Visible = True
A29.Visible = True
A30.Visible = True
A31.Visible = True
A32.Visible = True
A33.Visible = True
E1.Visible = True
E2.Visible = True
E3.Visible = True
E4.Visible = True
E5.Visible = True
E6.Visible = True
E7.Visible = True
E8.Visible = True
E9.Visible = True
E10.Visible = True
E11.Visible = True
E12.Visible = True
E13.Visible = True
E14.Visible = True
E15.Visible = True
E16.Visible = True
E17.Visible = True
E18.Visible = True
E19.Visible = True
E20.Visible = True
E21.Visible = True
E22.Visible = True
E23.Visible = True
E24.Visible = True
E25.Visible = True
E26.Visible = True
E27.Visible = True
E28.Visible = True
E29.Visible = True
E30.Visible = True
E31.Visible = True
E32.Visible = True
E33.Visible = True
E34.Visible = True
E35.Visible = True
E36.Visible = True
E37.Visible = True
E38.Visible = True
E39.Visible = True
E40.Visible = True
E41.Visible = True
E42.Visible = True
E43.Visible = True
E44.Visible = True
E45.Visible = True
E46.Visible = True
E47.Visible = True
E48.Visible = True
E49.Visible = True
E50.Visible = True
E51.Visible = True
E52.Visible = True
E53.Visible = True
E54.Visible = True
E55.Visible = True
E56.Visible = True
E57.Visible = True
E58.Visible = True
E59.Visible = True
Q1.Visible = True
Q2.Visible = True
Q3.Visible = True
Q4.Visible = True
Q5.Visible = True
Q6.Visible = True
Q7.Visible = True
BoxA1E50Q3.Visible = True
BoxA2E11E48Q6Q4.Visible = True
BoxA21E38E58.Visible = True
BoxA26.Visible = True
BoxA5A20.Visible = True
BoxA7Q5.Visible = True
BoxA9.Visible = True
BoxE13.Visible = True
BoxE14E37A19.Visible = True
BoxE25E1E25A6E52.Visible = True
BoxE26.Visible = True
BoxE51E39A17.Visible = True
BoxE9E10E34E35A4A14A18.Visible = True
BoxQ2A3A25.Visible = True
BoxQ7Q1A22.Visible = True
Line176.Visible = True
Line183.Visible = True
Line186.Visible = True
Line189.Visible = True
Line193.Visible = True
Line204.Visible = True
Line207.Visible = True
Line209.Visible = True
Line211.Visible = True
Line213.Visible = True
Line215.Visible = True
Line217.Visible = True
Line219.Visible = True
Line221.Visible = True
Line223.Visible = True
AnnBill.Visible = True
AnnCatBill.Visible = True
AnnEmpHrs.Visible = True
AnnIndEmpHrs.Visible = True
CumBill.Visible = True
CumBillSubDisc.Visible = True
CumEmpHrs.Visible = True
CumExp.Visible = True
CumExpNoMark.Visible = True
CumInd.Visible = True
CumNetPL.Visible = True
CumRev.Visible = True
MoBill.Visible = True
MoEmpHrs.Visible = True
MoIndEmpHrs.Visible = True
End Sub
Private Sub Label99_Click()
'If changes were made, this button does all the queries again.
Call Form_Open(True)
DoCmd.Requery
End Sub
Private Sub Form_Open(Cancel As Integer)
'Because the report is pulling from reports that have parameters these allow me to just type in the dates once instead of answering each parameter separately.
DoCmd.Maximize
MsgBox "Please answer date questions and wait for form to load. Thanks!"
Dim CheckY
varYN = 7
CheckY = Yes
Do While varYN = 7
xYear = InputBox("Please enter a year (yyyy).", "Enter Date", Date)
varYN = MsgBox("You have entered " & xYear & "," & vbCrLf & "Is this correct?", vbYesNo, "Correct Date?"

If varYN = 7 Then
CheckY = No
End If
Loop
Dim CheckM
varYN = 7
CheckM = Yes
Do While varYN = 7
xMonth = InputBox("Please enter a Month-Year (mm/dd/yyyy).", "Enter Date", Date)
varYN = MsgBox("You have entered " & xMonth & "," & vbCrLf & "Is this correct?", vbYesNo, "Correct Date?"

If varYN = 7 Then
CheckM = No
End If
Loop
'Open each report, pull a variable, close report.
DoCmd.OpenReport "RPT-ARClientBillHistAnnual", acViewPreview 'Var1
Me.A1 = Var1
DoCmd.Close acReport, "RPT-ARClientBillHistAnnual"
DoCmd.OpenReport "RPT-BillAvg", acViewPreview 'Var2
Me.A2 = Var2
DoCmd.Close acReport, "RPT-BillAvg"
DoCmd.OpenReport "RPT-MoInvTotalbyMo", acViewPreview 'Var3
Me.A3 = Var3
DoCmd.Close acReport, "RPT-MoInvTotalbyMo"
DoCmd.OpenReport "RPT-ProfitLoss", acViewPreview 'Var4
Me.A4 = Var4
DoCmd.Close acReport, "RPT-ProfitLoss"
DoCmd.OpenReport "RPT-ProfitLossbyClass", acViewPreview 'Var5
Me.A5 = Var5
DoCmd.Close acReport, "RPT-ProfitLossbyClass"
DoCmd.OpenReport "RPT-EmpHrsOneMonth", acViewPreview 'Var6
Me.A6 = Var6
DoCmd.Close acReport, "RPT-EmpHrsOneMonth"
DoCmd.OpenReport "RPT-Cat", acViewPreview 'Var7
Me.A7 = Var7
DoCmd.Close acReport, "RPT-Cat"
DoCmd.OpenReport "RPT-EmpHrsCum", acViewPreview 'Var8
Me.A8 = Var8
DoCmd.Close acReport, "RPT-EmpHrsCum"
DoCmd.OpenReport "RPT-EmpHrsCumJPC", acViewPreview 'Var9
Me.A9 = Var9
DoCmd.Close acReport, "RPT-EmpHrsCumJPC"
DoCmd.OpenReport "RPT-EmpHrsCumRDH", acViewPreview 'Var10
Me.A10 = Var10
DoCmd.Close acReport, "RPT-EmpHrsCumRDH"
DoCmd.OpenReport "RPT-EmpHrsCumWKB", acViewPreview 'Var11
Me.A11 = Var11
DoCmd.Close acReport, "RPT-EmpHrsCumWKB"
DoCmd.OpenReport "RPT-EmpHrsCumJAB", acViewPreview 'Var12
Me.A12 = Var12
DoCmd.Close acReport, "RPT-EmpHrsCumJAB"
DoCmd.OpenReport "RPT-EmpHrsCumCMT", acViewPreview 'Var13
Me.A13 = Var13
DoCmd.Close acReport, "RPT-EmpHrsCumCMT"
DoCmd.OpenReport "RPT-ProfitLossbyClass", acViewPreview 'Var14
Me.A14 = Var14
DoCmd.Close acReport, "RPT-ProfitLossbyClass"
DoCmd.OpenReport "RPT-EmpHrsCum", acViewPreview 'Var15
Me.A15 = Var15
DoCmd.Close acReport, "RPT-EmpHrsCum"
DoCmd.OpenReport "RPT-EmpHrsCumJLD", acViewPreview 'Var16
Me.A16 = Var16
DoCmd.Close acReport, "RPT-EmpHrsCumJLD"
DoCmd.OpenReport "RPT-EmpHrsAnnual", acViewPreview 'Var17
Me.A17 = Var17
DoCmd.Close acReport, "RPT-EmpHrsAnnual"
DoCmd.OpenReport "RPT-ProfitLossbyBillType", acViewPreview 'Var18
Me.A18 = Var18
DoCmd.Close acReport, "RPT-ProfitLossbyBillType"
DoCmd.OpenReport "RPT-ProfitLoss", acViewPreview 'Var19
Me.A19 = Var19
DoCmd.Close acReport, "RPT-ProfitLoss"
DoCmd.OpenReport "RPT-ProfitLossbyBillType", acViewPreview 'Var20
Me.A20 = Var20
DoCmd.Close acReport, "RPT-ProfitLossbyBillType"
DoCmd.OpenReport "RPT-ProfitLoss", acViewPreview 'Var21
Me.A21 = Var21
DoCmd.Close acReport, "RPT-ProfitLoss"
DoCmd.OpenReport "QRY-MoInvbyDate", acViewPreview 'Var22
Me.A22 = Var22
DoCmd.Close acReport, "QRY-MoInvbyDate"
DoCmd.OpenReport "RPT-ProjectHrs", acViewPreview 'Var23
Me.A23 = Var23
DoCmd.Close acReport, "RPT-ProjectHrs"
DoCmd.OpenReport "RPT-EmpHrsCumOLD", acViewPreview 'Var24
Me.A24 = Var24
DoCmd.Close acReport, "RPT-EmpHrsCumOLD"
DoCmd.OpenReport "RPT-ARClientsBillHistCum", acViewPreview 'Var25
Me.A25 = Var25
DoCmd.Close acReport, "RPT-ARClientsBillHistCum"
DoCmd.OpenReport "RPT-EmpHrsAnnualJPC", acViewPreview 'Var26
Me.A26 = Var26
DoCmd.Close acReport, "RPT-EmpHrsAnnualJPC"
DoCmd.OpenReport "RPT-EmpHrsAnnualRDH", acViewPreview 'Var27
Me.A27 = Var27
DoCmd.Close acReport, "RPT-EmpHrsAnnualRDH"
DoCmd.OpenReport "RPT-EmpHrsAnnualWKB", acViewPreview 'Var28
Me.A28 = Var28
DoCmd.Close acReport, "RPT-EmpHrsAnnualWKB"
DoCmd.OpenReport "RPT-EmpHrsAnnualJAB", acViewPreview 'Var29
Me.A29 = Var29
DoCmd.Close acReport, "RPT-EmpHrsAnnualJAB"
DoCmd.OpenReport "RPT-EmpHrsAnnualCMT", acViewPreview 'Var30
Me.A30 = Var30
DoCmd.Close acReport, "RPT-EmpHrsAnnualCMT"
DoCmd.OpenReport "RPT-EmpHrsAnnual", acViewPreview 'Var31
Me.A31 = Var31
DoCmd.Close acReport, "RPT-EmpHrsAnnual"
DoCmd.OpenReport "RPT-EmpHrsAnnualJLD", acViewPreview 'Var32
Me.A32 = Var32
DoCmd.Close acReport, "RPT-EmpHrsAnnualJLD"
DoCmd.OpenReport "RPT-EmpHrsAnnualOLD", acViewPreview 'Var33
Me.A33 = Var33
DoCmd.Close acReport, "RPT-EmpHrsAnnualOLD"
'Go through each group of amounts and confirm each group has the same value.
If (CLng([A1]) = CLng([E50])) Then
A1.Visible = False
E50.Visible = False
Q3.Visible = False
AnnBill.Visible = False
Line176.Visible = False
BoxA1E50Q3.Visible = False
If (CLng([A1]) = CLng([Q3])) Then
A1.Visible = False
E50.Visible = False
Q3.Visible = False
AnnBill.Visible = False
Line176.Visible = False
BoxA1E50Q3.Visible = False
If (CLng([Q5]) = CLng([A7])) Then
A7.Visible = False
Q5.Visible = False
Line183.Visible = False
AnnCatBill.Visible = False
BoxA7Q5.Visible = False
If ((CLng([E39]) = CLng([A17]))) Then
E51.Visible = False
E39.Visible = False
A17.Visible = False
AnnEmpHrs.Visible = False
Line186.Visible = False
BoxE51E39A17.Visible = False
If (CLng([E39]) = CLng([E51])) Then
E51.Visible = False
E39.Visible = False
A17.Visible = False
AnnEmpHrs.Visible = False
Line186.Visible = False
BoxE51E39A17.Visible = False
If ((CLng([E9]) + CLng([E10])) = (CLng([E34]) + CLng([E35]))) Then
E9.Visible = False
E10.Visible = False
E34.Visible = False
E35.Visible = False
A4.Visible = False
A14.Visible = False
A18.Visible = False
CumRev.Visible = False
Line189.Visible = False
BoxE9E10E34E35A4A14A18.Visible = False
If ((CLng([E9]) + CLng([E10])) = CLng([A4])) Then
E9.Visible = False
E10.Visible = False
E34.Visible = False
E35.Visible = False
A4.Visible = False
A14.Visible = False
A18.Visible = False
CumRev.Visible = False
Line189.Visible = False
BoxE9E10E34E35A4A14A18.Visible = False
If (((CLng([E9]) + CLng([E10])) = CLng([A18]))) Then
E9.Visible = False
E10.Visible = False
E34.Visible = False
E35.Visible = False
A4.Visible = False
A14.Visible = False
A18.Visible = False
CumRev.Visible = False
Line189.Visible = False
BoxE9E10E34E35A4A14A18.Visible = False
If (((CLng([E26]) + CLng([E27]) + CLng([E28]) + CLng([E29]) + CLng([E30]) + CLng([E31]) + CLng([E32]) + CLng([E33])) = (CLng([E2]) + CLng([E3]) + CLng([E4]) + CLng([E5]) + CLng([E6]) + CLng([E7]) + CLng([E8]))) Or ((CLng([E26]) + CLng([E27]) + CLng([E28]) + CLng([E29]) + CLng([E30]) + CLng([E31]) + CLng([E32]) + CLng([E33])) = (CLng([E53]) + CLng([E54]) + CLng([E55]) + CLng([E56]) + CLng([E57]) + CLng([E59]) + CLng([E36])))) Then
E26.Visible = False
E27.Visible = False
E28.Visible = False
E29.Visible = False
E30.Visible = False
E31.Visible = False
E32.Visible = False
E33.Visible = False
E2.Visible = False
E3.Visible = False
E4.Visible = False
E5.Visible = False
E6.Visible = False
E7.Visible = False
E8.Visible = False
E53.Visible = False
E54.Visible = False
E55.Visible = False
E56.Visible = False
E57.Visible = False
E59.Visible = False
E36.Visible = False
Line217.Visible = False
MoIndEmpHrs.Visible = False
BoxE26.Visible = False
CumEmpHrs.Visible = False
If ((CLng([Q2]) = CLng([A3])) Or (CLng([Q2]) = CLng([A25]))) Then
Q2.Visible = False
A3.Visible = False
A25.Visible = False
CumBillSubDisc.Visible = False
Line204.Visible = False
BoxQ2A3A25.Visible = False
If ((CLng([A2]) = CLng([E11])) Or (CLng([A2]) = CLng([E48])) Or (CLng([A2]) = CLng([Q6])) Or (CLng([A2]) = (CLng([Q4]) - 2055))) Then
A2.Visible = False
E11.Visible = False
E48.Visible = False
Q6.Visible = False
Q4.Visible = False
CumBill.Visible = False
Line209.Visible = False
BoxA2E11E48Q6Q4.Visible = False
'ElseIf ([A9] + [A10] + [A11] + [A12] + [A13] + [A15] + [A16] + [A24]) = 78175.5 Then
' MsgBox "It adds up"
'ElseIf [A8] = 77050 Then
' MsgBox "A8 adds up"
'ElseIf [A23] = 77050 Then
' MsgBox "A23 adds up"
'ElseIf [E12] = 77050 Then
' MsgBox "E12 adds up"
'ElseIf [E49] = 77050 Then
' MsgBox "E49 adds up"
'Debug.Print "[A8]=" & [A8]
'Debug.Print "[A9]=" & [A9]
'Debug.Print "[A10]=" & [A10]
'Debug.Print "[A11]=" & [A11]
'Debug.Print "[A12]=" & [A12]
'Debug.Print "[A13]=" & [A13]
'Debug.Print "[A15]=" & [A15]
'Debug.Print "[A16]=" & [A16]
'Debug.Print "[A24]=" & [A24]
'Debug.Print "[E38]=" & [E38]
'Debug.Print "[E58]=" & [E58]
'Debug.Print "Is This Statement False ([A9]+[A10]+[A11]+[A12]+[A13]+[A15]+[A16]+[A24]=[E38]+[E58]): " & [A21] = [E38] + [E58]
'MsgBox "Debug - Evaluate Expression (Equals): " & [A21] = ([E38] + [E58])
If (((CLng([A8]) = CLng([E49])) Or ((CLng([A8]) = CLng([E12]))) Or (CLng([A8]) = CLng([A23])))) Then
A9.Visible = False
A10.Visible = False
A11.Visible = False
A12.Visible = False
A13.Visible = False
A15.Visible = False
A16.Visible = False
A23.Visible = False
A24.Visible = False
A8.Visible = False
E12.Visible = False
E49.Visible = False
CumEmpHrs.Visible = False
Line207.Visible = False
BoxA9.Visible = False
A9.Visible = False
A10.Visible = False
A11.Visible = False
A12.Visible = False
A13.Visible = False
A15.Visible = False
A16.Visible = False
A23.Visible = False
A24.Visible = False
A8.Visible = False
E12.Visible = False
E49.Visible = False
CumEmpHrs.Visible = False
Line207.Visible = False
BoxA9.Visible = False
If (((CLng([A9]) + CLng([A10]) + CLng([A11]) + CLng([A12]) + CLng([A13]) + CLng([A15]) + CLng([A16]) + CLng([A24])) = CLng([A8])) Or ((CLng([A8]) = CLng([E49])) Or ((CLng([A8]) = CLng([E12]))) Or (CLng([A8]) = CLng([A23])))) Then
A9.Visible = False
A10.Visible = False
A11.Visible = False
A12.Visible = False
A13.Visible = False
A15.Visible = False
A16.Visible = False
A23.Visible = False
A24.Visible = False
A8.Visible = False
E12.Visible = False
E49.Visible = False
CumEmpHrs.Visible = False
Line207.Visible = False
BoxA9.Visible = False
A9.Visible = False
A10.Visible = False
A11.Visible = False
A12.Visible = False
A13.Visible = False
A15.Visible = False
A16.Visible = False
A23.Visible = False
A24.Visible = False
A8.Visible = False
E12.Visible = False
E49.Visible = False
CumEmpHrs.Visible = False
Line207.Visible = False
BoxA9.Visible = False
If ((CLng([E14]) + CLng([E37])) = CLng([A19])) Then
E14.Visible = False
E37.Visible = False
A19.Visible = False
CumExp.Visible = False
Line211.Visible = False
BoxE14E37A19.Visible = False
If (CLng([A5]) = CLng([A20])) Then
A5.Visible = False
A20.Visible = False
CumExpNoMark.Visible = False
Line219.Visible = False
BoxA5A20.Visible = False
If ((CLng([E23]) - (CLng([E13]) + CLng([E24]))) < 50) Or ((CLng([E23]) - (CLng([E13]) + CLng([E24]))) > 50) Then
E23.Visible = False
E15.Visible = False
E16.Visible = False
E17.Visible = False
E18.Visible = False
E19.Visible = False
E20.Visible = False
E21.Visible = False
E22.Visible = False
E13.Visible = False
E24.Visible = False
CumInd.Visible = False
Line213.Visible = False
BoxE13.Visible = False
If ((CLng([E23]) = (CLng([E15]) + CLng([E16]) + CLng([E17]) + CLng([E18]) + CLng([E19]) + CLng([E20]) + CLng([E21]) + CLng([E22]) + CLng([E13])))) Then
E23.Visible = False
E15.Visible = False
E16.Visible = False
E17.Visible = False
E18.Visible = False
E19.Visible = False
E20.Visible = False
E21.Visible = False
E22.Visible = False
E13.Visible = False
E24.Visible = False
CumInd.Visible = False
Line213.Visible = False
BoxE13.Visible = False
If ((CLng([E38]) + CLng([E58])) = "-1,518,636.51"

Then
MsgBox "Yes"
If (CLng([A21]) = (CLng([E38]) + CLng([E58]))) Then
A21.Visible = False
E38.Visible = False
E58.Visible = False
CumNetPL.Visible = False
Line221.Visible = False
BoxA21E38E58.Visible = False
If ((CLng([Q7]) = CLng([Q1])) Or (CLng([Q7]) = CLng([A22]))) Then
Q7.Visible = False
Q1.Visible = False
A22.Visible = False
MoBill.Visible = False
Line223.Visible = False
BoxQ7Q1A22.Visible = False
If ((CLng([E25]) = CLng([E1])) Or (CLng([E25]) = CLng([A6])) Or (CLng([E25]) = CLng([E52]))) Then
E25.Visible = False
E1.Visible = False
A6.Visible = False
E25.Visible = False
MoEmpHrs.Visible = False
Line215.Visible = False
BoxE25E1E25A6E52.Visible = False
If ((CLng([A26]) + CLng([A27]) + CLng([A28]) + CLng([A29]) + CLng([A30]) + CLng([A31]) + CLng([A32]) + CLng([A33])) = (CLng([E40]) + CLng([E41]) + CLng([E42]) + CLng([E43]) + CLng([E44]) + CLng([E45]) + CLng([E46]) + CLng([E47]))) Then
A26.Visible = False
A27.Visible = False
A28.Visible = False
A29.Visible = False
A30.Visible = False
A31.Visible = False
A32.Visible = False
A33.Visible = False
E40.Visible = False
E41.Visible = False
E42.Visible = False
E43.Visible = False
E44.Visible = False
E45.Visible = False
E46.Visible = False
E47.Visible = False
AnnIndEmpHrs.Visible = False
Line193.Visible = False
BoxA26.Visible = False
Else: Box226.Visible = False
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
MsgBox "I went to the end"
End Sub
'Rest of code, works fine.
Private Sub EOMMM_Click()
Me!EOMMM.SpecialEffect = 2
Me!EOMMM.SpecialEffect = 1
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub EOMMM_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!EOMMM.SpecialEffect = 2
End Sub
Private Sub EOMMM_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!EOMMM.SpecialEffect = 1
End Sub
Private Sub EH_Click()
Me!EH.SpecialEffect = 2
Me!EH.SpecialEffect = 1
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub EH_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!EH.SpecialEffect = 2
End Sub
Private Sub EH_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!EH.SpecialEffect = 1
End Sub
Private Sub EXACC_Click()
Me!EXACC.SpecialEffect = 2
Me!EXACC.SpecialEffect = 1
DoCmd.Quit
End Sub
Private Sub EXACC_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!EXACC.SpecialEffect = 2
End Sub
Private Sub EXACC_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!EXACC.SpecialEffect = 1
End Sub
Private Sub HLP_Click()
Me!HLP.SpecialEffect = 2
Me!HLP.SpecialEffect = 1
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub HLP_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!HLP.SpecialEffect = 2
End Sub
Private Sub HLP_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!HLP.SpecialEffect = 1
End Sub
Private Sub INS_Click()
Me!INS.SpecialEffect = 2
Me!INS.SpecialEffect = 1
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub INS_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!INS.SpecialEffect = 2
End Sub
Private Sub INS_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!INS.SpecialEffect = 1
End Sub
Private Sub LST_Click()
Me!LST.SpecialEffect = 2
Me!LST.SpecialEffect = 1
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub LST_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!LST.SpecialEffect = 2
End Sub
Private Sub LST_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!LST.SpecialEffect = 1
End Sub
Private Sub MI_Click()
Me!MI.SpecialEffect = 2
Me!MI.SpecialEffect = 1
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub MI_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!MI.SpecialEffect = 2
End Sub
Private Sub MI_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!MI.SpecialEffect = 1
End Sub
Private Sub MNT_Click()
Me!MNT.SpecialEffect = 2
Me!MNT.SpecialEffect = 1
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub MNT_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!MNT.SpecialEffect = 2
End Sub
Private Sub MNT_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!MNT.SpecialEffect = 1
End Sub
Private Sub PI_Click()
Me!PI.SpecialEffect = 2
Me!PI.SpecialEffect = 1
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub PI_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!PI.SpecialEffect = 2
End Sub
Private Sub PI_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!PI.SpecialEffect = 1
End Sub
Private Sub RPT_Click()
Me!RPT.SpecialEffect = 2
Me!RPT.SpecialEffect = 1
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub RPT_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!RPT.SpecialEffect = 2
End Sub
Private Sub RPT_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!RPT.SpecialEffect = 1
End Sub
Private Sub RTMM_Click()
DoCmd.Close
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "FRM-Mainmenu"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.Close acForm, "FRM-EOM-Reconciliations"
End Sub
Private Sub RTMM_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!RTMM.SpecialEffect = 2
End Sub
Private Sub RTMM_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!RTMM.SpecialEffect = 1
End Sub
As you can see, there is some code REM'd out as I was trying different things to check the formulas.
Cajun, the formula I am working on at this time is:
If ((CLng([E25]) = CLng([E1])) Or (CLng([E25]) = CLng([A6])) Or (CLng([E25]) = CLng([E52]))) Then
All four textboxes stay visible with the number 1611 in each box. So obviously they all match and should be invisible. I tried the debugging method Ronald gave me and I just cannot get it to work as stated previously.
Remember, you asked for all this code. Smile. Thank you so much for your help. I am so confused what the problem could be.
Janet Lyn