I will have to ask our friendly IT people to do that!!!
In the meantime I have got this to work (I am wanting to select one or more filenames to send to a server by FTP):
Sub workaraound()
Set lb = Worksheets(1).Shapes.AddFormControl(xlListBox, 100, 10, 200, 100)
Worksheets(1).ListBoxes(1).Select
With Selection
.ListFillRange = ""
.LinkedCell = ""
.MultiSelect = xlSimple
.Display3DShading = False
End With
For i = 1 To intCount
mystamp = FileDateTime("d:\data\hockey\" & varFile(i))
chek = DateDiff("d", Now, mystamp)
If chek = 0 Then
lb.ControlFormat.AddItem varFile(i)
End If
Next i
Else
MsgBox "There were no files found."
End If
End sub
Sub peek()
Dim kname(10) As String
For i = 1 To Worksheets(1).ListBoxes(1).ListCount
If Worksheets(1).ListBoxes(1).Selected(i) = True Then
counter = counter + 1
kname(counter) = Worksheets(1).ListBoxes(1).List(i)
End If
Next I
?????
End sub