PC Review


Reply
Thread Tools Rate Thread

Choose picture to display

 
 
Tomas Stroem
Guest
Posts: n/a
 
      2nd May 2009
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
 
Reply With Quote
 
 
 
 
Jacob Skaria
Guest
Posts: n/a
 
      2nd May 2009
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

 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      2nd May 2009
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" <(E-Mail Removed)> wrote in message
news:970960A9-4D83-4949-81E8-(E-Mail Removed)...
> 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


 
Reply With Quote
 
Tomas Stroem
Guest
Posts: n/a
 
      2nd May 2009
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" <(E-Mail Removed)> wrote in message
> news:970960A9-4D83-4949-81E8-(E-Mail Removed)...
> > 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

>
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      2nd May 2009
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").visible = 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" <(E-Mail Removed)> wrote in message
> > news:970960A9-4D83-4949-81E8-(E-Mail Removed)...
> > > 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
To choose coordinate to display a form =?Utf-8?B?YW4=?= Microsoft Access Forms 2 17th Aug 2007 06:36 PM
How to display a picture hyperlink in a form as a picture =?Utf-8?B?QmFzc2Ft?= Microsoft Access Forms 1 24th Apr 2007 08:00 PM
Using iif to choose which address to display sjeskey@gmail.com Microsoft Access Reports 5 16th Apr 2007 05:53 PM
picture embeded email cannot display picture hsiwai Microsoft Outlook Discussion 1 31st Aug 2006 01:07 PM
RE: choose slides to display during presentation =?Utf-8?B?Q293Ym95?= Microsoft Powerpoint 0 22nd Mar 2006 04:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:26 AM.