Hi Parters,

please, how i can adapt this code from VBNet to VBA Excel ??

PHP Code:


 Dim G 
As Graphics  
 G 
Graphics.FromImage(picDest.Image)  
 
G.Clear(Color.FromArgb(25525500)) 
 
G.Dispose() 


thank you very mutch !
--------------------------------------------------------------------------------------
a example of this problem by other user here

http://www.vbaexpress.com/forum/show...r-my-classroom