DEV Community

Oscar Sun(孫守真字任真)
Oscar Sun(孫守真字任真)

Posted on

Answer: Word VBA: Use picture in userform and document without loading it twice

When I use your code the line

activeCell.InlineShapes(1).ScaleWidth = scaleFactor

will encounter error, wouldn't you?

So I didn't continue. I have no idea how about your original code will go.

I'm sorry that as far as I know, there is no faster way than the LoadPicture method. (Even if I…

Oldest comments (0)