C
Chrissy
I have a button on a worksheet and want it to run code in
an XLA - how do I do this?
TIA.
Chrissy.
an XLA - how do I do this?
TIA.
Chrissy.
CopyFile:=True).Installed = TrueChrissy said:Thanks.
I was trying to do something like this.
Sub CommandButton1_Click()
Dim XLAFound As Boolean
Dim i As Integer
XLAFound = False
For i = 1 To AddIns.Count
If AddIns(i).Name = "DaySheet.xla" Then
XLAFound = True
End If
Next
If XLAFound Then
AddIns("DaySheet.XLA").Installed = True
Else
AddIns.Add(Filename:=ThisWorkbook.Path & "/" & "DaySheet.XLA",