Loading images from sheet into user form without opening sheets

Boechat

New Member
Joined
Jul 16, 2016
Messages
44
Greetings everyone.

I'm running a series of forms, combining several information for my company, among them a system that generates graphs for monthly deliveries. Since the userform does not support graphs, the alternative I found was for the macro to save them as .gif files which are loaded by the form as an image. The system is working perfectly, however, if I haven't opened the sheet containing the graphs before running the macros, the images won't load. I figure the graphs are only loaded once I open the sheet, which should be no problem as long as I have the sheets visible. However, once the coding is finished, I plan on hiding the workbook and leaving only the forms visible, so the images wouldn't work any longer.

Any ideas on commands to make the graphs be loaded without opening the sheets?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,223,728
Messages
6,174,150
Members
452,548
Latest member
Enice Anaelle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top