Problem distributing an Excel .xla file

kmiles

Board Regular
Joined
Apr 1, 2002
Messages
113
I have a workbook that uses the Calendar.xla add-in. It works fine until I attempt to distribute that workbook to other employees via a file download from our website.

Is there a way to make this work without having to manually add the .xla file on each user's PC?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
You could send them a workbook with some VBA in the _open event handler that would install it for them. But this assumes
  • that the workbook you send would not get hung up on macro security which implies that either
    • the user has his security dropped or
    • you have digitally signed the WB and the user has your signature on file and
  • that all users have identical network drive mappings.

Here is the example that's in VBE help:
Code:
Sub UseAddIn()

    Set myAddIn = AddIns.Add(Filename:="A:\MYADDIN.XLA", _
        CopyFile:=True)
    MsgBox myAddIn.Title & " has been added to the list"

End Sub
 
Upvote 0
Thanks for your help, Greg. I was able to find out that the actual problem I was having was that, even though the MSCAL.OCX file existed on my download PC, it was not registered because I don't use Access.

Once I typed in "regsvr32 c:\windows\system32\mscal.ocx" everything worked fine.
 
Upvote 0
Glad you got it sorted out; though it appears that I completely misunderstood your question.
 
Upvote 0

Forum statistics

Threads
1,203,242
Messages
6,054,353
Members
444,718
Latest member
r0nster

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top