Good afternoon group!
I am trying to pass a printer object to a sub while printing. My sub looks
like this:
Public Sub SetBold(ByRef objObject As Printer)
objObject.FontBold = True
End Sub
and the call looks like this:
SetBold(Printer)
However, when I run my program and it gets to the point where this call is
going to fire, I get this error:
Run-time error '438'
Object doesn't support this property or method
If I click 'Debug', it points me to the line where the call is made.
Any suggestions? Sorry if this sounds like a newbie question, but I haven't
done much printing in VB.
Thanks
John