PDA

View Full Version : Graphics.FromImage VBNet to VBA Excel



xman2000
05-18-2017, 12:08 PM
Hi Parters,

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





Dim G As Graphics
G = Graphics.FromImage(picDest.Image)
G.Clear(Color.FromArgb(255, 255, 0, 0))
G.Dispose()








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

http://www.vbaexpress.com/forum/showthread.php?17722-Need-remote-control-vba-help-for-my-classroom