通过引用文件路径在用户窗体中设置图像控件的值

Set the value of an image control in the user form by referencing a file path

为了避免必须在工作簿本身中存储图像,或者先将图像加载到工作簿中,然后从用户窗体中引用这些图像,有没有办法从用户窗体中设置图像值image 控制到特定的文件路径?

类似于:

image_server.show
set image_server.image_control_name = "C:\Users\user_name\Desktop\images\island.jpg"

显然是:

image_server.Picture = LoadPicture(filepath)