LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.links
external usenet poster
 
Posts: 473
Default Inserting a Picture using Cell as picture name.

The-jackal wrote:
Ok been using this but was wondering if I can get it to display the
picture at say 20% of its original size.


With Me.Shapes.AddPicture(stFile, True, True, Range("A16").Left, _
Range("A16").Top, Range("A16").Width, Range("A16").Width * 3 / 4)
.Name = "NewPic"
' the next 3 lines are new:
.LockAspectRatio = False
.ScaleHeight 0.2, True
.ScaleWidth 0.2, True
End With

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

 
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
Inserting a picture or chart into one cell in Excel Clandestine Excel Worksheet Functions 1 January 25th 08 07:35 PM
how do I insert picture into cell so vlookup can return picture? ah Excel Worksheet Functions 1 May 1st 07 04:38 AM
Inserting picture into excel based on # in the another cell jstaggs Excel Worksheet Functions 2 December 14th 06 06:55 PM
inserting a picture into a cell Rosa B. Excel Discussion (Misc queries) 1 December 7th 05 09:42 PM
Inserting a picture comotoman Excel Discussion (Misc queries) 3 October 16th 05 02:02 PM


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