Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Getting Picture Into Image In UserForm

I am guessing that this is incredibly easy, but it is beyond me. All I want
to do is click the Image box on the UserForm and be able to select a Picture.

I can very easily get the code to write to a desired cell using
xlDialogInsertPicture, which I like because it ensure that it is an
appropriate object. I can't get the image to show up on the UserForm using:

Image1.Picture=LoadPicture(Sheet("PictureSheet").C ells(1,1).Value)

I can imaging a lot of ways to do this, but a good top level method would be
best. In support of my own ideas:
- Can I get the path from xlDialogInsertPicture?
- Is there a generic pictures filter for GetOpenFilename?
- Can I extract the image from the UserForm and insert it somewhere else
later or is it lost?

Any help is appreciated. Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Getting Picture Into Image In UserForm

A little too quick with my question. What I really need to know is whether
there is a good generic FileFilter for images, and if & how I can extract the
image from the UserForm.

Thank you.

"ZipCurs" wrote:

I am guessing that this is incredibly easy, but it is beyond me. All I want
to do is click the Image box on the UserForm and be able to select a Picture.

I can very easily get the code to write to a desired cell using
xlDialogInsertPicture, which I like because it ensure that it is an
appropriate object. I can't get the image to show up on the UserForm using:

Image1.Picture=LoadPicture(Sheet("PictureSheet").C ells(1,1).Value)

I can imaging a lot of ways to do this, but a good top level method would be
best. In support of my own ideas:
- Can I get the path from xlDialogInsertPicture?
- Is there a generic pictures filter for GetOpenFilename?
- Can I extract the image from the UserForm and insert it somewhere else
later or is it lost?

Any help is appreciated. Thanks in advance

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Userform Image from Cell Picture Address Corey Excel Programming 1 January 25th 08 02:16 PM
image & picture Tom Rudski[_5_] Excel Programming 2 December 7th 05 07:32 PM
Charts to Image or Picture? Bill Elerding Charts and Charting in Excel 2 May 5th 05 12:54 PM
Screen flicker when changing Image.Picture source on UserForm Paul Martin Excel Programming 4 April 22nd 05 02:52 PM
userform image from picture in worksheet Doug Glancy[_5_] Excel Programming 2 November 10th 03 04:43 AM


All times are GMT +1. The time now is 01:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"