SAVEPICTURE(picture, stringexpression)

Saves a graphic image from an objects Picture or Image property to a file.

pictureThe object reference stored in the picture property of a control.
stringexpressionA valid filename and path to store the picture (String).

* This function can be used to Save an Excel Range as a Picture.
* You can use the LOADPICTURE statement to load a picture into a picture or image control.

SavePicture Selection.Name.Picture, folderName 

UserForm.picFrame.Picture = UserForm.picFrame.Image
SavePicture UserForm.picFrame.Picture, "a:\" & InputBox("Filename?", "Save File") & ".bmp"

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited Top