ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Can u use IF to insert a picture file? (https://www.excelbanter.com/excel-worksheet-functions/210402-can-u-use-if-insert-picture-file.html)

ForeverH

Can u use IF to insert a picture file?
 
Can you use the IF formula to insert a jpg?
--
ForeverH :)

Gord Dibben

Can u use IF to insert a picture file?
 
Only by using VBA

See John McGimpsey's site for one method suing Event code, Data Validation
and VLOOKUP formula.

http://www.mcgimpsey.com/excel/lookuppics.html

OR go to Debra Dalgeish's site for a sample workbook from Bernie Dietrick
for adding pictures to selections.

Alows for more than one picture(or same picture multiple times) to be
displayed based upon a value or item chosen from DV lists

http://www.contextures.on.ca/excelfiles.html#DataVal

DV0049 - ClipArt Selection

Edit the code to suit.


Gord Dibben MS Excel MVP

On Fri, 14 Nov 2008 17:02:01 -0800, ForeverH
wrote:

Can you use the IF formula to insert a jpg?



Shane Devenshire[_2_]

Can u use IF to insert a picture file?
 
Hi,

Functions, all of Excel's built-in functions do not make active changes to
the user interface. Functions are designed to make calculation and return
the results of those calculations to the spreadsheet.

This is also true for custom VBA functions.

Cheers,
Shane Devenshire

"ForeverH" wrote:

Can you use the IF formula to insert a jpg?
--
ForeverH :)


ForeverH

Can u use IF to insert a picture file?
 
do i have to have all the pics on this worksheet - or can i have them on
another?
this is a bit above me - how do i write the code ( i know how to view it,
but not how to enter one)
--
ForeverH :)


"Gord Dibben" wrote:

Only by using VBA

See John McGimpsey's site for one method suing Event code, Data Validation
and VLOOKUP formula.

http://www.mcgimpsey.com/excel/lookuppics.html

OR go to Debra Dalgeish's site for a sample workbook from Bernie Dietrick
for adding pictures to selections.

Alows for more than one picture(or same picture multiple times) to be
displayed based upon a value or item chosen from DV lists

http://www.contextures.on.ca/excelfiles.html#DataVal

DV0049 - ClipArt Selection

Edit the code to suit.


Gord Dibben MS Excel MVP

On Fri, 14 Nov 2008 17:02:01 -0800, ForeverH
wrote:

Can you use the IF formula to insert a jpg?





All times are GMT +1. The time now is 01:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com