Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / April 2008

Tip: Looking for answers? Try searching our database.

Excel Crashing using Remote Worksheet Calls in NETWORKDAYS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Doman - 25 Mar 2008 18:35 GMT
Hi all...

We're having problems attempting with Excel 2007 crashing when referencing a
lookup table in Worksheet 'B' from Worksheet 'A' during a NETWORKDAYS
call....  In more detail...

Worksheet 'A' has a list of rows including two date columns.  We're
attempting to workout the difference in working days between the two date
columns taking into account a list of "holiday" dates contained within
Worksheet 'B'.   We are using NETWORKDAYS function for this.

Everything works fine whilst Worksheet 'B' is open, however when you close
Worksheet 'B' (or open Worksheet 'A' from a freshly opened Excel) then Excel
will crash & burn (restart of Excel required).

Some things I've tried...

Worksheet A & B both live on Network shares with the same access rights to
the logged on client who's using Excel.

Replacing NETWORKDAYS with any other innocuous call (ie VLOOKUP) does not
crash Excel, even though it's referencing the lookup table in Worksheet 'B'
which is NOT open.

I've used the Trust Centre to fully trust all I can (as an experiment)
however this seems to have no affect and still causes the Excel Crash.

My thoughts...

My understanding is that in previous versions of Excel the NETWORKDAYS
function was included in an Analysis Toolpack - implying that it was either
a VB Macro or Excel Add-in based function.   I'm assuming there's some kind
of problem interpreting the path to the Excel file for (in our case
Worksheet 'B') Or there may be a rights issue (although I've almost
discounted that by locating Worksheet 'B' in various network / local
locations).

Any help would be appreciated folks!

Paul
Jim Rech - 25 Mar 2008 21:00 GMT
I duplicated your problem or one very similar to it.  Since the two files I
created were on my local machine there are no rights or network issues
involved.  I'd say you have uncovered a bug and it would seem you'll have to
find a way to get the holidays into the same workbook as the formula.

Signature

Jim

| Hi all...
|
[quoted text clipped - 36 lines]
|
| Paul
Paul Doman - 26 Mar 2008 09:22 GMT
Thanks Jim - that's what I thought - ah well, I'll try attacking it with a
Custom VB Function and see how that goes - I'll keep you posted.

> I duplicated your problem or one very similar to it.  Since the two files I
> created were on my local machine there are no rights or network issues
> involved.  I'd say you have uncovered a bug and it would seem you'll have to
> find a way to get the holidays into the same workbook as the formula.
Alan124 - 10 Apr 2008 13:27 GMT
> Hi all...
>
[quoted text clipped - 35 lines]
>
> Paul

Hi,

Maybe the excel files are damaged or something, and if they really do,
I think you can try a utility called Advanced Excel Repair to repair
your Excel xls file. It works rather well for my corrupt Excel xls
files. Its web address is http://www.datanumen.com/aer/

Hope this will help.

Alan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.