M
Matt Benvenuti
Hi all!
It's been a while since I've done any VBA, and I'm kind of embarased
to ask this question.
I would like to pass values to a sub as a section is printing. I've
used the code below. Obviously it doesn't work. The error is:
"You entered an expression that has no value."
Any help greatly appreciated.
cheers,
Matt.
Private Sub GroupFooter6_Print(Cancel As Integer, PrintCount As
Integer)
MsgBox ("Field5 " & Field5.Value)
MsgBox ("Field7: " & Field7.Value)
MsgBox ("Field8: " & Field8.Value)
Call CountPart(Field5.Value, Field7.Value, Field8.Value)
End Sub
It's been a while since I've done any VBA, and I'm kind of embarased
to ask this question.
I would like to pass values to a sub as a section is printing. I've
used the code below. Obviously it doesn't work. The error is:
"You entered an expression that has no value."
Any help greatly appreciated.
cheers,
Matt.
Private Sub GroupFooter6_Print(Cancel As Integer, PrintCount As
Integer)
MsgBox ("Field5 " & Field5.Value)
MsgBox ("Field7: " & Field7.Value)
MsgBox ("Field8: " & Field8.Value)
Call CountPart(Field5.Value, Field7.Value, Field8.Value)
End Sub