Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,564
- Office Version
- 365
- 2016
- Platform
- Windows
I am receiving a "ByRef argument type mismatch" error with this line of code calling a procedure.
In my procedure, timeOpen and timeClose (time values) are declared as Date.
Here is the procedure sub being called:
Can someone help by suggesting what I need to do to correct this?
Rich (BB code):
create_proglist fac, facPgrmTar, timeOpen, timeClose, cdcnt
In my procedure, timeOpen and timeClose (time values) are declared as Date.
Code:
Dim timeOpen as date, timeClose as date
Here is the procedure sub being called:
Code:
Sub create_proglist(ByRef fac As String, facPgrmTar As Range, timeOpen As Date, timeClose As Date, cdcnt As Double)
Can someone help by suggesting what I need to do to correct this?