Microsoft KB Archive/50492

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Excel: EXEC() Function Causes Crash with Long Pathname

Last reviewed: November 2, 1994
Article ID: Q50492

SUMMARY

If the pathname supplied to the EXEC() function is more than 33 characters, it may cause Excel to crash. It is possible to work around the problem by switching the directory prior to using the EXEC() function.

For example

   =EXEC("Hard Disk 20:Applications:Microsoft Directory:Microsoft Word")

can be replaced by the following two statements:

   =DIRECTORY("Hard Disk 20:Applications:Microsoft Directory")
   =EXEC("Microsoft Word")

This behavior was fixed in Microsoft Excel version 3.00.


KBCategory: kbother

KBSubcategory:

Additional reference words: 2.20


Last reviewed: November 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.