Sub exa()
Dim CB As CommandBar
Dim ctl As CommandBarButton
Dim strCBName As String
Dim wbTemp As Workbook
Dim wks As Worksheet
Dim rngInput As Range
Dim i As Long
'// Add a temp commandbar, make it a popup (which we won't show); add a temp control //
Set CB = CommandBars.Add(Position:=msoBarPopup, MenuBar:=False, Temporary:=True)
Set ctl = CB.Controls.Add(Type:=msoControlButton, Temporary:=True)
strCBName = CB.Name
Set wbTemp = Workbooks.Add(xlWBATWorksheet)
Set wks = wbTemp.Worksheets(1)
Set rngInput = wks.Range("B:B")
rngInput.Offset(, -1).ColumnWidth = 3
rngInput.ColumnWidth = 18
rngInput.HorizontalAlignment = xlRight
'// Change range of FaceID's you want to return to suit.//
For i = 1 To 50
ctl.FaceId = i
ctl.CopyFace
rngInput.Cells(i).PasteSpecial
rngInput.Cells(i).Value = i
Next
'// just so the last image pasted doesn't stay selected//
rngInput.Cells(1).Select
'// Kill the temp cbar and ctrl //
On Error Resume Next
Set CB = CommandBars(strCBName)
On Error GoTo 0
If Not CB Is Nothing Then
CB.Delete
Else
MsgBox "ACK! I lost a toolbar!", 0, vbNullString
End If
End Sub