+ Reply to Thread
Results 1 to 2 of 2

How to access bitmap picture stored as property of image control on userform

  1. #1
    Registered User
    Join Date
    04-01-2013
    Location
    Pacific Northwest
    MS-Off Ver
    Excel 2007, 2010
    Posts
    1

    Question How to access bitmap picture stored as property of image control on userform

    I have a userform (ufIcons) where I populated several image controls with icon images (small bitmaps).

    I'm looking for a way to access the bitmap and copy it to a cell when the user clicks on the image control.

    To be clear, the bitmap is stored directly in the container (i.e. there is no file on the hard drive). I would much prefer to store the images on the userform and avoid storing the images as image files in a folder or as pictures on a worksheet.

    The challenge: successfully accessing the bitmap and loading it into a picture/shape/image container to be copied to a worksheet.

    End Goal: Copy the image to the activecell when the user initiates a specific UserForm("ufIcons").ImageControl click event

    The question: Is there a way to access the bitmap (possibly using VBComponents)?

    Here is my code with several different test methods:
    Please Login or Register  to view this content.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to access bitmap picture stored as property of image control on userform

    what do you mean by copying it to a cell? if you want to put it on a sheet you can add an image control to the sheet and just assign the picture property of one control to the other
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1