Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tx12345
 
Posts: n/a
Default Store an image inside a cell?


Can a small GIF or JPG image be stored inside of a cell, or somehow
otherwise associated with it?



Many Thx


--
tx12345
------------------------------------------------------------------------
tx12345's Profile: http://www.excelforum.com/member.php...o&userid=24776
View this thread: http://www.excelforum.com/showthread...hreadid=502228

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default Store an image inside a cell?

There are a couple different ways you could do this. The first would be to
select "Insert" from the menu bar and then "Picture", then "From File".
Select your GIF or JPG and then resize and place on your sheet where you
want. If you right-click on that picture, and then select "Format Picture"
then go to the "Properties" Tab, you can set it to move with cells. Thus it
won't really be associated with any particular cell, but its positioning will
stay relative to the cell you've place it on.

The second method would be to insert a Comment into the cell. Select
"Insert" from the menu bar, then "Comment". This creates a little balloon
window that appears whenever you move the mouse over that cell. Then go back
to the "Insert" menu and select "Edit Comment". Delete any text that is in
the Comment Window then click the outer edge of the comment (so you are no
longer editing the text within). Then right-click the edge and select
"Format Comment". Then select the "Colors and Lines" Tab and for Fill Color
choose "Fill Effects..." Then select the "Picture" tab and choose your
picture file.

HTH,
Elkar

"tx12345" wrote:


Can a small GIF or JPG image be stored inside of a cell, or somehow
otherwise associated with it?



Many Thx


--
tx12345
------------------------------------------------------------------------
tx12345's Profile: http://www.excelforum.com/member.php...o&userid=24776
View this thread: http://www.excelforum.com/showthread...hreadid=502228


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tx12345
 
Posts: n/a
Default Store an image inside a cell?


The cell comment idea was perfect.

Many Thx!


--
tx12345
------------------------------------------------------------------------
tx12345's Profile: http://www.excelforum.com/member.php...o&userid=24776
View this thread: http://www.excelforum.com/showthread...hreadid=502228

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tx12345
 
Posts: n/a
Default Store an image inside a cell?


I had another related question

I can manually get the pic into the comment but when I try to use a
macro to automate the process it keeps getting hung up. I recorded the
following in the exact order:


Code:
--------------------

Sub adpic()

Range("M9").AddComment
Range("M9").Comment.Visible = False
Range("M9").Comment.Text Text:=" :" & Chr(10) & ""
Selection.ShapeRange.Fill.Transparency = 0#
Selection.ShapeRange.Line.Weight = 0.75
Selection.ShapeRange.Line.DashStyle = msoLineSolid
Selection.ShapeRange.Line.Style = msoLineSingle
Selection.ShapeRange.Line.Transparency = 0#
Selection.ShapeRange.Line.Visible = msoTrue
Selection.ShapeRange.Line.ForeColor.RGB = RGB(0, 0, 0)
Selection.ShapeRange.Line.BackColor.RGB = RGB(255, 255, 255)
Selection.ShapeRange.Fill.Visible = msoTrue
Selection.ShapeRange.Fill.ForeColor.RGB = RGB(255, 255, 255)
Selection.ShapeRange.Fill.BackColor.SchemeColor = 80
Selection.ShapeRange.Fill.UserPicture "C:\1m.jpg"

End Sub
--------------------


but it keeps getting hung up he


Code:
--------------------
Selection.ShapeRange.Fill.Transparency = 0#
--------------------


when I try to execute the macro. Have any ideas?


Thx


--
tx12345
------------------------------------------------------------------------
tx12345's Profile: http://www.excelforum.com/member.php...o&userid=24776
View this thread: http://www.excelforum.com/showthread...hreadid=502228

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
count if Jim Excel Worksheet Functions 11 January 21st 06 08:31 PM
How to create a List inside a cell? Msantos Excel Discussion (Misc queries) 6 September 13th 05 12:05 AM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
store some of the information from one cell into another bsantona Excel Discussion (Misc queries) 1 February 10th 05 02:35 PM


All times are GMT +1. The time now is 04:27 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"