loadpicture

  1. A

    Issues with thisworkbook.path

    I've searched everywhere and I've tried using the tips I've come across, however I still run into isses using Thisworkbook.path. This code works fine if I use $Environ(username), and put the path, but I'm not sure the other ones in my office has the onedrive folder saved in the same location. It...
  2. kelly mort

    looping through cells

    I wanted to loop through this code : Sheet1.Image1. Picture = LoadPicture (fPath & "\" & Sheet1. Range ("B2") & ".jpg") Sheet1.Image2. Picture = LoadPicture (fPath & "\" & Sheet1. Range ("B12") & ".jpg") Sheet1.Image3. Picture = LoadPicture (fPath & "\" & Sheet1. Range ("B22") & ".jpg")...
  3. Jaafar Tribak

    How to make UserForm Frame Controls transparent

    Hi all, In case anyone is interested, here is the vba for making frame controls transparent in userforms. A couple of testings of the code revealed that it is very flexible and it is stable as it doesn't use hooking or subclassing for updating the frames backgrounds when moving around the...
  4. C

    Importing chart sheets to an Excel Userform

    Hi everyone, I'm after some advice for working with Excel userforms. I have the below piece of code which allows me to import an image of a chart from a sheet into a Userform. While this works OK, most of my charts exist on Chart Sheets opposed to data sheets. Is there any easy work around to...
  5. A

    Loading an image from Worksheet to an Image Object in a Userform (MS Excel 2007)

    Greetings! I am currently trying to design a userform that would show different images (images are already in place on a worksheet) depending on which text box is active. The code is roughly like this: Private Sub Txt_Le_Enter() ' << SHOW A PICTURE FOR Le PARAMETER >> Txt_Le.ForeColor...
  6. T

    LoadPicture not showing as function in Excel 2013 VBA

    I'm making a userform to run on both Mac and PC. The form does stuff with pictures, and since certain functions don't exist in the Mac VBA, I identify which platform is running and the proper code is used. However, when trying to use LoadPicture() to put an image in the userform image control...
  7. H

    Need assistance VBA LoadPicture in form with variable

    Hello I am need of help with VBA LoadPicture in a form based on a variable. My combo box is the variable = cboitem my image box is = Image1 my form is named = frmData my pics are located = C:\Bob\Inventory_Tracker\ When the user ... lets say selects item # 13200 in the combo box ... I...
  8. A

    File size problam Active X Control inserting Image

    Dear All, I have made a template In which i have Inserted Image(Active X Control) and put a code in duble click event to select "Image1.Picture = LoadPicture(Application.GetOpenFilename) " Its working fine but problam is file size become somuch bigger then normal even image size in kb, I can't...

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