Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Networkdays funtion

Status
Not open for further replies.

KevinNewtoAccess

Technical User
Dec 7, 2000
13
GB
I am trying to use the NETWORKDAYS function to calculate working days between 2 events. Access 2000 is reporting this as an unknown function. I have checked the help on this which advises me to check for a library (MSOWCF.DLL) and to re-install Access if it is missing. This dll is in place on my system so I am confused as to why Access is not recognising this function.

Any suggestions?
 
Functions that use a .DLL must also have a "Declare" statement in a module. This tells Access or VB where to find the function, and in which .DLL on your hard drive.

something like

Public Declare Function NetApiBufferFree Lib "Netapi32.dll" (ByVal lpBuffer As Long) As Long

Note: this is not correct for your's, cause I don't have the MSOWCF.DLL
DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top