Refreshing image

Refreshing image in ImageControl of VBE Userform
When we change picture of image, we need to change its size to force it to refresh

CodeFunctionName
What is this?

Public

Tested

Original Work
when we change picture of image, we need to change size to force it to refresh

like this
ComCon = "ImgInstructions"
OldW = FrmL.Controls(ComCon).Width
FrmL.Controls(ComCon).Width = OldW - 1
FrmL.Controls(ComCon).Width = OldW

Views 1,146

Downloads 447

CodeID
DB ID