Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Choose picture to display

Hi,

I am about to make a form from data in an excel sheet, simple, until the
demand came that, depending on some data in this sheet, a specific picture is
supposed to be dislplayed in the form.

My guess is that a macro is the best way to make this happen but right now I
dont see the way, can somebody give an idéa?

grateful for all suggestions
--
Tomas S
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default Choose picture to display

If you are looking at Userform; check the properties window of User form and
browse a picture for the Picture property.

If you are looking at inserting a picture in worksheet. Check Insert..menu

If this post helps click Yes
---------------
Jacob Skaria


"Tomas Stroem" wrote:

Hi,

I am about to make a form from data in an excel sheet, simple, until the
demand came that, depending on some data in this sheet, a specific picture is
supposed to be dislplayed in the form.

My guess is that a macro is the best way to make this happen but right now I
dont see the way, can somebody give an idéa?

grateful for all suggestions
--
Tomas S

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Choose picture to display

I think we need some more information. When you say "form", do you mean a
UserForm or a worksheet made to look like a form? Are you talking about
having several pictures and having them automatically change as the data
changes in some way? If so, tell us what the conditions are that determine
what pictures to use. Also, to make it easier on you for implementing any
code we give you, tell us the names of your picture files, the directory
they are kept in and which picture file goes with which data condition.

--
Rick (MVP - Excel)


"Tomas Stroem" wrote in message
...
Hi,

I am about to make a form from data in an excel sheet, simple, until the
demand came that, depending on some data in this sheet, a specific picture
is
supposed to be dislplayed in the form.

My guess is that a macro is the best way to make this happen but right now
I
dont see the way, can somebody give an idéa?

grateful for all suggestions
--
Tomas S


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Choose picture to display

Sorry,

I mean a sheet that loks like a form, feed from the sheet with data, one of
the pieces of information needed is the picture that I want to insert at a
specific location in this form sheet.

The user will, through filters, find the set of information suitable for
what shall be accomplished. In a cell they will enteyr the number for this
information set, which I will use to populate the form sheet. Then they will
print the now created sheet to use as instructions in next operation. One of
the pieces of information is the picture that I need to insert-

The data will be several hundred rows where each row will fill the form
sheet. -number of pictures i far less, perhaps 20. I will create an
indentifier to choose picture from depending on three different pieces of
information in the database. This will be numbers from 1-20. I plan to save
the pictures in the same directory as the worksheet containing data. Name
will be "pic 1.jpg" ....

Hope this gives a better idea...

--
Tomas S


"Rick Rothstein" wrote:

I think we need some more information. When you say "form", do you mean a
UserForm or a worksheet made to look like a form? Are you talking about
having several pictures and having them automatically change as the data
changes in some way? If so, tell us what the conditions are that determine
what pictures to use. Also, to make it easier on you for implementing any
code we give you, tell us the names of your picture files, the directory
they are kept in and which picture file goes with which data condition.

--
Rick (MVP - Excel)


"Tomas Stroem" wrote in message
...
Hi,

I am about to make a form from data in an excel sheet, simple, until the
demand came that, depending on some data in this sheet, a specific picture
is
supposed to be dislplayed in the form.

My guess is that a macro is the best way to make this happen but right now
I
dont see the way, can somebody give an idéa?

grateful for all suggestions
--
Tomas S



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Choose picture to display

If the pictures weren't too large (in bytes), then I'd just put them all in the
same location--where they need to be to be printed.

Then instead of loading them from the folder, just show the one you want (and
hide the others).

worksheets("somesheetname").pictures("Pict001").vi sible = true

kind of thing.

Tomas Stroem wrote:

Sorry,

I mean a sheet that loks like a form, feed from the sheet with data, one of
the pieces of information needed is the picture that I want to insert at a
specific location in this form sheet.

The user will, through filters, find the set of information suitable for
what shall be accomplished. In a cell they will enteyr the number for this
information set, which I will use to populate the form sheet. Then they will
print the now created sheet to use as instructions in next operation. One of
the pieces of information is the picture that I need to insert-

The data will be several hundred rows where each row will fill the form
sheet. -number of pictures i far less, perhaps 20. I will create an
indentifier to choose picture from depending on three different pieces of
information in the database. This will be numbers from 1-20. I plan to save
the pictures in the same directory as the worksheet containing data. Name
will be "pic 1.jpg" ....

Hope this gives a better idea...

--
Tomas S

"Rick Rothstein" wrote:

I think we need some more information. When you say "form", do you mean a
UserForm or a worksheet made to look like a form? Are you talking about
having several pictures and having them automatically change as the data
changes in some way? If so, tell us what the conditions are that determine
what pictures to use. Also, to make it easier on you for implementing any
code we give you, tell us the names of your picture files, the directory
they are kept in and which picture file goes with which data condition.

--
Rick (MVP - Excel)


"Tomas Stroem" wrote in message
...
Hi,

I am about to make a form from data in an excel sheet, simple, until the
demand came that, depending on some data in this sheet, a specific picture
is
supposed to be dislplayed in the form.

My guess is that a macro is the best way to make this happen but right now
I
dont see the way, can somebody give an idéa?

grateful for all suggestions
--
Tomas S




--

Dave Peterson
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
Getting a Sheet to Choose to Display Other Sheets Kyle P.[_2_] Excel Discussion (Misc queries) 0 May 27th 10 10:57 PM
How do I choose to display data on a log log graph? starboard Charts and Charting in Excel 1 September 16th 09 10:30 PM
Multiple Picture display Martin Excel Discussion (Misc queries) 3 May 20th 08 03:41 PM
find and display a picture Paul Pedersen Excel Programming 2 March 1st 07 06:40 PM
How can I conditionally display one picture over another? Arnold Reedy Excel Discussion (Misc queries) 1 February 5th 06 03:05 PM


All times are GMT +1. The time now is 02:56 AM.

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

About Us

"It's about Microsoft Excel"