Image control embeds a picture such as a jpg, jpeg, gif, png, bitmap, etc. It can be used on the WorkSheet. You can see how it works and more details about ActiveX Image Control on the Worksheet in the following chapter.



50+ Project Management Templates Pack
Excel PowerPoint Word

Advanced Project Plan & Portfolio Template
Excel Template

Business Presentations Templates Pack
PowerPoint Slides

20+ Excel Project Management Pack
Excel Templates

20+ PowerPoint Project Management Pack
PowerPoint Templates

10+ MS Word Project Management Pack
Word Templates

VBA ActiveX Image Control on the Worksheet

Please find more details about VBA ActiveX Image Control on the Worksheet.

  1. Go To Developer Tab and then click Insert from the Controls
  2. Click on the Image_control from the ActiveX Controls group.
  3. Drag the control on the Worksheet.
  4. Right click on the Image_control, before that Design Mode should be turned ON.
  5. Click on properties from the available list.
  6. On the left side find ‘Picture’ from the available properties of the control.
  7. On the right side click on that, and select image from the source.
  8. On the left side find ‘PictureSizeMode’ from the available properties of the control.
  9. On the right side, select ‘1 – frmPictureSiseModeStretch’ from the available list.
  10. Now, you can see the following output as shown below in the screen shot.

Delete Image Control on the Worksheet using VBA

Please find the below code, it will show you how to delete or remove the control on the worksheet. In the below example, its deleting the Image named ‘Image1’ which is on the worksheet named ‘Sheet11’. Where Delete is the property of Shape object.

Sub Delete_Image()
End Sub

Leave A Comment

Related pages

fresher technical interview questionsadd developer tab to ribbon in word 2007excel sql command texthow do you remove duplicate rows in excelcountif exampleembed forms.combobox.1excel vba copy rangehow to countif in excelhow to copy data validation to other cellsexcel vba offsetexcel macro copy worksheetvba enableeventsexcel chrhow do i lock excel spreadsheetusing lookup function in excelvba for excel tutorialexcel data analysis for dummiesvba code for vlookup function in excelsql statements in excelcountif functionvba interior.coloropen file with vbavba call a macroworkbook definition excelexample macro excelvlookup trimexcel application.getopenfilenameuse of vlookup in excel 2010listbox excel vbasql dml commands with examplesexcel vba userform framedelete empty rows in exceluseful vbs scriptssample meeting minutes template wordvba for excel tutorial for beginnersadodb.connection closeexcel 2010 advanced tutorial pdfactive x definitionvlookup macro in excelexcel project management dashboardexcel vba variable typesblank checks worksheetexcel isna formulaexport access to excel vbaexcel count duplicatevba tutorial for excelhow to convert excel to xml in excel 2007explain activex controlhow to collect data from multiple excel filesvba docmdrefresh data in pivot tablevlookup formula in excel 2010 with exampledelete empty rows in excel 2007merge column in excelvba delete empty rowshow to sort numbers in excel in ascending orderdelete cells in excelhow to make pivot tables in excel 2007vba if iserrorexcel vba msgbox inputaccess vba insertwhat is a pivot chart in excelhow to learn vlookup in excel 2007how to protect a excel workbookexcel macro for dummiesprint in vbatcl commands in sql server with examplesif statement in excel 2007excel vba cell changevba odbc connectionvb6 connect to sql servervba delete duplicatescombobox tutorialamazing excel tricksvb color codes listunlock excel file password protected