Excel Networkdays function in Access

RichardMGreen

Well-known Member
Joined
Feb 20, 2006
Messages
2,177
Hi all

I need to replicate the Excel function Networkdays in Access.
I've come across some VBA code but I'd rather do it using queries if I can.

Is it possible to do this in a query or do I definitely need code?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
No, just normal select queries.

::edit::
I'm not sure what I've just done but it's working properly now.
It's also pulling straight through to Excel using my ADO connection.

Thanks for all the help.
 
Upvote 0
I know this is kind of old now, but I'm having the same issue that Richard was having. However, I'm not as apt to SQL code in access, I'm used to just dealing with the objects. If i just want to dump the formula into one of the fields, how do i write it correctly?

I'm trying to find the difference between "Req#dlv#dt" & "Act Date" to reference the actual names.
 
Upvote 0
I know this is kind of old now, but I'm having the same issue that Richard was having. However, I'm not as apt to SQL code in access, I'm used to just dealing with the objects. If i just want to dump the formula into one of the fields, how do i write it correctly?

I'm trying to find the difference between "Req#dlv#dt" & "Act Date" to reference the actual names.
It looks like you re-posted this question here: http://www.mrexcel.com/forum/showthread.php?t=582956

So let's keep it to one thread and address it there (see our policy on double posting questions here, rule #9: http://www.mrexcel.com/forum/showthread.php?t=99490).
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top