Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Pictrues in Excel

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Pictrues in Excel

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default Pictrues in Excel

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
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



All times are GMT +1. The time now is 12:22 PM.

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"