I'm trying to find some simple code that would that would allow me to select a picture from the picture dialog and insert it to active cell at a small size, like 2 1/2 by 2 inches
I'm trying to find some simple code that would that would allow me to select a picture from the picture dialog and insert it to active cell at a small size, like 2 1/2 by 2 inches
Last edited by ABabeNChrist; 02-20-2010 at 09:56 PM.
Did you try recording a macro?
After you do that, there's just a couple of simple steps to align it to the active cell.
Entia non sunt multiplicanda sine necessitate
I tried I have Excel 2007, it will not record
Try this to get started:
Look at the other properties of a Shape in help![]()
With ActiveSheet.Pictures.Insert("C:\Documents and Settings\ABabeNChrist\My Documents\My Pictures\Apple3.jpg") .Left = ActiveCell.Left .Top = ActiveCell.Top End With
Last edited by teylyn; 02-20-2010 at 09:59 PM.
Thank You shg
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks