Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I insert a lot of pictures (jpg) into spreadsheets.
How can I have all pictures that I insert have the same 2" wide format. I don't want to convert the picture unless it is used in excel. At present I have to format each picture and resize it after it is inserted. Is there a shortcut for this? Thanks Hank |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
Select the picture or pictures, Public Sub FormatPicture() Dim i As Long With Selection For i = 1 To .Count If TypeName(.Item(i)) = "Picture" Then With .Item(i).ShapeRange .LockAspectRatio = msoTrue .Width = Application.InchesToPoints(2) End With End If Next i End With End Sub In article , "Hank Hendrix" wrote: I insert a lot of pictures (jpg) into spreadsheets. How can I have all pictures that I insert have the same 2" wide format. I don't want to convert the picture unless it is used in excel. At present I have to format each picture and resize it after it is inserted. Is there a shortcut for this? Thanks Hank |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Hank,
What is the final disposition of this, would it be a catalog. Would that catalog be online. Some articles on doing this in MS Word: http://www.mvps.org/dmcritchie/excel...erg.htm#photos I think HTML is the best for this, unless you actually want a printed version. Add a picture to a comment: http://www.contextures.com/xlcomments02.html#Picture There have been some postings on this for Excel, the problem is that you are at least usually storing a copy in Excel. I'm not sure if anyone had a solution to that. // someone else may have answered this already, this got delayed. --- HTH, David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001] My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm Search Page: http://www.mvps.org/dmcritchie/excel/search.htm "Hank Hendrix" wrote in message ... I insert a lot of pictures (jpg) into spreadsheets. How can I have all pictures that I insert have the same 2" wide format. I don't want to convert the picture unless it is used in excel. At present I have to format each picture and resize it after it is inserted. Is there a shortcut for this? Thanks Hank |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|