Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.fr.excel
external usenet poster
 
Posts: 1
Default Application.LibraryPath returning invalid path

We are copying our XLA to the Excel Application.LibraryPath directory during
the install. We we are on French Windows (XP Pro) and French Office (2003)
this property is returning "c:\program files\microsoft
office\office11\macrolib". This path does not exist.

Known bug? I cannot find anything on the web for it.



  #2   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.fr.excel
external usenet poster
 
Posts: 11,123
Default Application.LibraryPath returning invalid path

Hi Mike

Post this in a French Newsgroup to see if it return the wrong path on other
machines also.



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Mike" wrote in message ...
We are copying our XLA to the Excel Application.LibraryPath directory during the install. We we are on French Windows (XP Pro)
and French Office (2003) this property is returning "c:\program files\microsoft office\office11\macrolib". This path does not
exist.

Known bug? I cannot find anything on the web for it.





  #3   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.fr.excel
external usenet poster
 
Posts: 8
Default Application.LibraryPath returning invalid path

Hi,

This directory is OK (except Office10) with a French Excel 2002 and
Windows 98

I got same thing with this:

Sub librarypath()
Dim dirpath As String
dirpath = Application.librarypath
MsgBox dirpath
End Sub

But I cannot test with Windows XP Pro and Office 2003


"Mike" a écrit dans le message de
...
We are copying our XLA to the Excel Application.LibraryPath

directory during
the install. We we are on French Windows (XP Pro) and French Office

(2003)
this property is returning "c:\program files\microsoft
office\office11\macrolib". This path does not exist.

Known bug? I cannot find anything on the web for it.




  #4   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.fr.excel
external usenet poster
 
Posts: 8
Default Application.LibraryPath returning invalid path

Hi,

According to following example, in French Excel VBA Help, you must
add path separator yoursel between "LibraryPath" and final file.

beginning copy:

Exemple
Cet exemple montre comment ouvrir le fichier « Oscar.xla » dans le
dossier Macrolib.

pathSep = Application.PathSeparator
f = Application.LibraryPath & pathSep & "Oscar.Xla"
Workbooks.Open filename:=f

End of copy

"Mike" a écrit dans le message de
...
We are copying our XLA to the Excel Application.LibraryPath

directory during
the install. We we are on French Windows (XP Pro) and French Office

(2003)
this property is returning "c:\program files\microsoft
office\office11\macrolib". This path does not exist.

Known bug? I cannot find anything on the web for it.




Reply
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
How can I remove an invalid path for an Access file from a pivot CLASSC Charts and Charting in Excel 4 December 2nd 07 02:14 PM
How can I remove an invalid path for an Access file from a pivot CLASSC Charts and Charting in Excel 0 November 30th 07 05:31 AM
Why would hyperlinks in a spreadsheet change to an invalid path? LisaW Excel Discussion (Misc queries) 1 September 19th 06 05:38 PM
set path for Application.Run zSplash Excel Programming 1 January 28th 04 09:41 PM
Application.Path Simon Davies Excel Programming 1 November 12th 03 04:52 PM


All times are GMT +1. The time now is 02:12 PM.

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"