I have created a macro enabled Excel Spreadsheet that will programmatically load a image from disk and load it into an ActiveX image control.
How to I remove the image? I want to remove the image from my testing the process. I do not need to create a script to programmatically remove it.
To clear out the picture manually:
To remove the image manually, go into Design mode (View > Toolbars > Control Toolbox and click the "Design Mode" button). Right-click the control and choose "Properties". Click in the "Picture" property and backspace or delete until it says (None) .
This assumes that the image is loaded into an Image Control on the worksheet and not on a VBA userform. You could follow mischab1's instructions if the control was on a VBA userform OR an image control.
And of course these instructions are for Excel 2003; the specific steps vary depending on Excel version.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.