LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Networkdays to open previous day's file

Hi,

I am trying to use the networkdays function to open a previous day's file. I
am receiving an error that the function is not defined. Why do I need to
define this Microsoft function? Any suggestions on how to open a previous
day's file that is saved as FileJul3108 excluding the day before if it was a
weekend day or holiday?

PrevSuffix = Format((NETWORKDAYS((DateAdd("d", -1, Date)), , HolidayList)),
"Mmmddyy")

HolidayList = Array("Sep0108", "Nov2708", "Dec2508", "Jan0109", "Jan1909",
"Feb1609", _
"Apr1009", "May2509", "Jul0309", "Sep0709", "Nov2609",
"Dec2509")

--
Thank you

Dave
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Who has this workbook open showing previous users jimar Excel Discussion (Misc queries) 0 November 6th 07 03:58 PM
Can I reverse a saved file to the previous file in Excel? highlandmom Excel Discussion (Misc queries) 5 August 28th 07 04:10 PM
why does excel always open the previous files ? Douglas. Excel Discussion (Misc queries) 0 August 17th 06 12:46 PM
How can I open previous version of saved file in Excel? Cindy W. Excel Discussion (Misc queries) 1 August 1st 05 10:33 PM
excell 2003 will not open previous version fsg Excel Discussion (Misc queries) 2 January 21st 05 07:19 PM


All times are GMT +1. The time now is 12:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"