Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Falaffel
 
Posts: n/a
Default Automatic picture formatting available ?

Hello everybody,

I did a search on this and couldn't find anything so here goes...

I capture and paste alot of images into excel from the clipboard.
Once pasted i have to select "Format Picture" function in order
to get the size so that the pasted picture actually fits the excel
cells. Is there anyway to make the pasted pictures automatically
size themselfes to the cells ?

Or perhaps set a default setting in the "Size" tab in "Format Picture"
so that pasted pictures always gets the same size without me being
forced to write them in explicitly everytime ?

Thanks / Fal
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

You could use this macro:

Public Sub FitPictureToCell()
Dim rCell As Range
If TypeName(Selection) = "Picture" Then
With Selection
Set rCell = .TopLeftCell
.Top = rCell.Top
.Left = rCell.Left
.Width = rCell.Width
.Height = rCell.Height
.Placement = xlMoveAndSize
End With
Else
MsgBox "Please select a picture."
End If
End Sub

If you're not familiar with macro, see David McRitchie's "Getting
Started with Macros":

http://www.mvps.org/dmcritchie/excel/getstarted.htm


In article ,
"Falaffel" wrote:

I capture and paste alot of images into excel from the clipboard.
Once pasted i have to select "Format Picture" function in order
to get the size so that the pasted picture actually fits the excel
cells. Is there anyway to make the pasted pictures automatically
size themselfes to the cells ?

Or perhaps set a default setting in the "Size" tab in "Format Picture"
so that pasted pictures always gets the same size without me being
forced to write them in explicitly everytime ?

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic backup copy craigq Charts and Charting in Excel 2 April 11th 05 05:57 PM
conditional formatting blank cell TREK5200 Excel Discussion (Misc queries) 1 December 6th 04 03:23 AM
Date Formatting Neil Excel Discussion (Misc queries) 6 December 4th 04 07:57 PM
Adding more than three Conditions to 'Conditional Formatting' David McRitchie Excel Discussion (Misc queries) 1 November 27th 04 07:03 PM
Cells losing formatting BdgBill Excel Discussion (Misc queries) 1 November 26th 04 09:03 AM


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