Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to make sure that anyone who runs a report will have an Add-in
set to True on their computer before they start. I tried putting this line in the This Workbook module, but nothing happens. Sub AddInsSet() AddIns.Add("Analysis ToolPak").Installed = True End Sub Any suggestions?? Thanks jeff |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just because the procedure is behind ThisWorkbook doesn't mean that it'll run
automatically. The workbook_open event is the built-in event that you wnat to use: Option Explicit Private Sub Workbook_Open() AddIns("Analysis ToolPak").Installed = True End Sub wrote: I want to make sure that anyone who runs a report will have an Add-in set to True on their computer before they start. I tried putting this line in the This Workbook module, but nothing happens. Sub AddInsSet() AddIns.Add("Analysis ToolPak").Installed = True End Sub Any suggestions?? Thanks jeff -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Jun 26, 7:34*am, Dave Peterson wrote:
Just because the procedure is behind ThisWorkbook doesn't mean that it'll run automatically. The workbook_open event is the built-in event that you wnat to use: Option Explicit Private Sub Workbook_Open() * *AddIns("Analysis ToolPak").Installed = True End Sub wrote: I want to make sure that anyone who runs a report will have an Add-in set to True on their computer before they start. I tried putting this line in the This Workbook module, but nothing happens. Sub AddInsSet() AddIns.Add("Analysis ToolPak").Installed = True End Sub Any suggestions?? Thanks jeff -- Dave Peterson Thanks Dave. I screwed up. I didn't put this in the Workbook_Open section. It works fine now. Thanks for the reply. I appreciate it. jeff |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
move module from a workbook to new workbook via VBA | Excel Programming | |||
run module in another workbook | Excel Programming | |||
Run worksheet module code from workbook module? | Excel Programming | |||
Automatically Delete WorkBook 2 modules by using Workbook 1 module | Excel Programming | |||
Copy VBA Module and Form from Workbook to another workbook | Excel Programming |