faceid question


Posted by Charles Chester on May 01, 2001 10:06 AM

Is there any way to add custom pics to the faceid list?

Posted by Dave Hawley on May 01, 2001 11:15 AM


Hi Charles

As far as I'm aware all custom pics have a FaceId property of 0 (zero)


DaveOzGrid Business Applications

Posted by Charles Chester on May 02, 2001 7:05 AM

Thank you Dave,

One more question, where do you place custom pics so that they can be referrenced?

-Charles



Posted by Tim Manuel on May 25, 2001 5:51 AM

I'm not sure, but here's a method of adding a 16 x 16 pixel custom image to a toolbar button using the .pasteface command.

Sub AddButton()

ActiveWorkbook.Worksheets("images").Shapes("Image001").CopyPicture

Set NewBtn = CommandBars("Standard").Controls.Add(Type:=msoControlButton)

With NewBtn
.PasteFace
End With
End Sub

Tim