LibraryPath Property

Applies To

Application Object.

Description

Returns the path to the LIBRARY directory, not including the final separator. Read-only.

Example

This example opens the file OSCAR.XLA in the LIBRARY folder (the Macro Library folder on the Macintosh).


pathSep = Application.PathSeparator
f = Application.LibraryPath & pathSep & "OSCAR.XLA"
Workbooks.Open filename:=f