Forum Discussion
augejevgenij
Mar 03, 2021Copper Contributor
VBA help for importing images from file
Hello, I just started to use VBA and would really appreciate if someone could help me out. I would like to view images according to a path stored in a database. The images should refresh if a val...
- Mar 03, 2021The problem was solved by a kind user on Stackoverflow:
https://stackoverflow.com/questions/66455317/vba-help-for-importing-images-from-file
Thank You
NikolinoDE
Mar 03, 2021Platinum Contributor
Here is a ready-made proposal from the Internet.
Unfortunately, I can't remember the address, too long ago.
It does not work with all image file formats - but jpg, bmp, wmf, emf are possible.
20 images from the directory are loaded into the UserForm and displayed on image controls.
With the scrollbar you can scroll through the images and enter the numbers for the order of the images.
Depending on the size of the image files and the power of your computer, the update always takes a few seconds when scrolling.
I would be happy to know if I could help.
Nikolino
I know I don't know anything (Socrates)
* Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.