mvoing picture

P

pgarcia

Hello all,
I have a picture that I would like to move to the next cell if cell A1 is
equal to today’s date. Meaning, in Cell A1 is 7/6/2009, cell B1 is 7/7/2009,
I could like to picture to move from cell A1 to cell B1 the next day.
Thanks
 
J

jamescox

Well, you can move a picture you have inserted into a worksheet to the
left side of a cell with the following syntax in VBA

Activesheet.Shapes("Picture 1").Left = Range("A3").Left

where Picture 1 is the name of the inserted image.

I'm not sure from your description of the problem if you have a whole
set of pictures that have to be moved each day, so I'll leave that to
you...
 

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

Top