Alright, i've created a button using code from word custom toolbar but now i want to change the picture of the button. I have a 16x16 bmp saved at c:\vba\toolbar\custom.bmp. how can i use that bmp for my button picture?
Printable View
Alright, i've created a button using code from word custom toolbar but now i want to change the picture of the button. I have a 16x16 bmp saved at c:\vba\toolbar\custom.bmp. how can i use that bmp for my button picture?
Use the following synthax to load a picture
VB Code:
yourButton.Picture = LoadPicture("c:\vba\toolbar\custom.bmp")