Image in a cell

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I place an image in a cell? When I try to insert an image in a cell,
the image just appears above the table, not in the cell. Is there a property
setting that I am missing?

Roach-Moe

P.S. Eventually I will be recording a macro for use in a VB.Net program that
populates PowerPoint slides. So if you have a code snippet that shows how to
do this programmatically, I would greatly appreciate it!
 
Place your cursor in the cell, right click and select Borders and Fill. Click
on the Fill tab, check the Fill color box, click on the arrow next to the color
box, select Fill Effects, click on the Picture tab and then select your picture.
 
Doing that made the picture a backround fill. That isn't what I had in mind.
Can I insert an AutoShape and maintain the properties so that I may
programmatically change them later?
 
Tables are designed for text as far as I know, but if you ungroup them they are
really just a bunch of lines and text boxes. You can ungroup a table, add
autoshapes to the mix, move them under the text boxes and then regroup the whole
thing. My guess is that you can later access the individual components of the
"group", but I'm not a coder so I'll defer to someone else on that part.
 
Doing that made the picture a backround fill. That isn't what I had in mind.
Can I insert an AutoShape and maintain the properties so that I may
programmatically change them later?

For all practical purposes, a PowerPoint table cell is an autoshape.
Autoshapes can have a text frame that contains text but can't contain other
autoshapes.

What about picking up the coordinates of the table cell and using those to position
your image atop the cell? You'd also need to figure out the offset from the edge of
the slide to the edge of the table and from there to the edge of your chosen cell.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top