View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ken[_18_] Ken[_18_] is offline
external usenet poster
 
Posts: 45
Default NETWORKDAYS Function in Macro

If we have dates in A1 and A2, we can use the NETWORKDAYS
function in Excel to get a net workday count.
=NETWORKDAYS(A1,A2)

Is there a way to get this result in a macro?

TIA.