LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Addin problem

we have a application which creates some add-ins in
toolbar, when installed using setup.exe

We are trying to create .MSI file, after which the
application installs sucessfully but the addin doesn't
work it reads Error the blpmain.xla contains macro,
macro's may contain virus.

Following script is used to add Excel add-ins

Option Explicit
On Error Resume Next

' Define constants.
Const ADDIN = "C:\Program Files\blp\API\dde\BlpMain.xla"

' Load the add-ins into excel.
Dim objXL, objAddIn
Set objXL = CreateObject("Excel.Application")
objXL.Workbooks.Add
Set objAddIn = objXL.AddIns.Add(ADDIN, true)
objAddIn.Installed = true
objXL.Quit

 
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
MS VB addin err DL Excel Worksheet Functions 0 May 15th 07 05:22 PM
Remove Excel AddIn from AddIn List !! Help carl Excel Programming 2 December 8th 03 03:36 PM
Addin Peter Pantus Excel Programming 4 October 11th 03 07:40 PM
AddIn Robin Clay[_2_] Excel Programming 6 September 8th 03 11:08 AM
Addin in read-only mode problem Stuart[_5_] Excel Programming 1 August 20th 03 02:41 AM


All times are GMT +1. The time now is 09:11 AM.

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"