NetWorkDay function

andremt.vianna

New Member
Joined
Sep 3, 2009
Messages
2
How can I use the NetWorkDay Excel function on VBA?

The application.worksheetfunction does not work on this case because this function belongs to the add in 'atpvbaen.xls'.

Is there any I can use this function whithout having to code it my self?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
from memory, you just write "NETWORKDAYS(parameters)".
in the same way that some core functions are built into VBA, and some you have to use the application.worksheetfunction prefix.

Unfortunately, I've got 2007 now, so can't test.

hth
 
Upvote 0
oh, and you need to enable the reference in the VBA code. Tools > References > atpvbaen.xls
 
Upvote 0

Forum statistics

Threads
1,215,634
Messages
6,125,938
Members
449,275
Latest member
jacob_mcbride

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