Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Smart Application.Path


Hi there

The below code works fone
but i need to put the Addin in the same Directory
of Office11 i.e. Excel Directory, otherwise the addin cannot be loaded

What i need is a code to get my addin from any location in my PC an
then load it................propably search function help, but dono
know how to use it here........


Code
-------------------

Sub InstAddin()
Dim p As String
p = Application.Path & "\EasyFilter.XLA"
AddIns.Add Filename:=p

'*Check if Addin is Installed or not:
With Application.AddIns("EasyFilter.XLA")
If .Installed = False Then _
.Installed = True
End With

End Su
-------------------

--
helmekk

-----------------------------------------------------------------------
helmekki's Profile: http://www.excelforum.com/member.php...nfo&userid=693
View this thread: http://www.excelforum.com/showthread.php?threadid=47579

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
Display of Excel file in Winforms in Smart Device Application Bhavesh Mandaliya[_2_] Excel Discussion (Misc queries) 0 October 20th 08 10:10 AM
How do I set a default path when using Application.GetOpenFilename pkohler[_8_] Excel Programming 2 July 13th 04 10:12 PM
Application.Path (Getting the directory that my workbook is in) Richard1284[_8_] Excel Programming 1 May 25th 04 01:56 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 08:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"