Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Go into the VBIDE (Alt-F11)
Select your VBA project in the list Goto ToolsReferences Scroll down until you see artpvbaen.xls, it should only be 6-10 down Check that item and exit. You should be able to reference NETWORKDAYS directly then. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Dave" wrote in message ... Thanks for your response Bob, I am pretty new at coding in VBA so I don't understand what you mean. -- Thank you Dave "Bob Phillips" wrote: Set a reference to the Analysi Toolpak, atvbaen.xls, in the VBIDE. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Dave" wrote in message ... 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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Who has this workbook open showing previous users | Excel Discussion (Misc queries) | |||
Can I reverse a saved file to the previous file in Excel? | Excel Discussion (Misc queries) | |||
why does excel always open the previous files ? | Excel Discussion (Misc queries) | |||
How can I open previous version of saved file in Excel? | Excel Discussion (Misc queries) | |||
excell 2003 will not open previous version | Excel Discussion (Misc queries) |