Question : How do I assign a preview image to the TSavePictureDialog

I see that there is an Assign method for the TSavePictureDialog component and I've tried various ways to use that to get an image into the thumbnail panel of the component.  

Does anyone know how to put an image into that preview panel <before> doing the onexecute
xx.picture.savetofile?

Answer : How do I assign a preview image to the TSavePictureDialog

Assuming your date is in C11 enter in another cell:

=DATEVALUE(TRIM(LEFT(RIGHT(C11,LEN(C11)-FIND(",",C11)-1),FIND(":",RIGHT(C11,LEN(C11)-FIND(",",C11)-1))-3)))

This will convert it into a real date, which you can then format as you desire.

Steve
Random Solutions  
 
programming4us programming4us