I have a Macro named InsertLatestJPG - it looks in a folder for the
most recent saved picture and pastes it into the current document.
I have added the Macro to the toolbar, but the text InsertLatestJPG is
displayed on the front of the button. I would rather the button was a
small picture of something.
How do I customize the menu to display a picture instead of the macro
name?
Many thanks
Nozza
For info
Sub InsertLastestJPG()
'
' InsertLatestJPG Macro
' Macro written 28/1/2006 by Nozza
MyPath = "H:\grabs\grab*.jpg"
MyName = Dir(MyPath)
FileToLoad = MyName
Do While MyName <> ""
If MyName > FileToLoad Then
FileToLoad = MyName
End If
MyName = Dir
Loop
Selection.InlineShapes.AddPicture FileName:="C:\ScreenGrabs\" &
FileToLoad, _
LinkToFile:=False, SaveWithDocument:=True
End Sub

Signature
Email (ROT13)
abmmn_jnyrf4@lnubb.pb.hx
Nozza - 28 Jan 2006 12:50 GMT
Sussed it!
Go to the customize menu for the toolbar, and with the customize menu
showing, right click on the button in the toolbar (not in the
customize box).
Noz

Signature
Email (ROT13)
abmmn_jnyrf4@lnubb.pb.hx