Computer Learning Zone CLZ Access Excel Word Windows

Education is not the filling of a pail, but the lighting of a fire

-W.B. Yeats
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Visitor Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Counting Working Days Function
Sara Soliman 

2 years ago
I keep getting "Undefined Function" error when I input the "WorkingDaysFC" Function in a query.

This is the Function:

DetailsPublic Function WorkingDaysFC(LRD_Walid As Date, Status_Date As Date) As Long

    Dim D As Date
    
    WorkingDaysFC = 0
    D = LRD_Walid
    While D <= Status_Date
        If Weekday(D) > 1 And Weekday(D) < 7 Then
            WorkingDaysFC = WorkingDaysFC + 1
        End If
        D = D + 1
    Wend
End Function
Sami Shamma  @Reply  
             
2 years ago
How are you using it in the query?
Adam Schwanz  @Reply  
           
2 years ago
Just to confirm, is this inside a module?

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Visitor Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/8/2026 6:15:14 PM. PLT: 0s