Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Moving pictures

Hi
Please can someone tell me if its possible to move or more specifically echo
a picture into another part of a worksheet with code, ie how do you identify
the picture you have allready pasted.
I know you can type in "Picture 1" into the dropdown goto just above A
column, but can you echo it elsewhere?
Or is there a simple add on available?
Thanks in advance
David


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Moving pictures

Hi David,

Try:

'=============
Public Sub Tester001()
Dim myPic As Picture

With ActiveSheet
Set myPic = .Pictures("Picture 1")
myPic.Copy
.Paste Destination:=.Range("M1")
End With

End Sub
'<<=============

---
Regards,
Norman



"David Henderson" wrote in message
...
Hi
Please can someone tell me if its possible to move or more specifically
echo a picture into another part of a worksheet with code, ie how do you
identify the picture you have allready pasted.
I know you can type in "Picture 1" into the dropdown goto just above A
column, but can you echo it elsewhere?
Or is there a simple add on available?
Thanks in advance
David



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Moving pictures

Norman
you are brilliant
thats just what I wanted
thanks a lot
David

"Norman Jones" wrote in message
...
Hi David,

Try:

'=============
Public Sub Tester001()
Dim myPic As Picture

With ActiveSheet
Set myPic = .Pictures("Picture 1")
myPic.Copy
.Paste Destination:=.Range("M1")
End With

End Sub
'<<=============

---
Regards,
Norman



"David Henderson" wrote in message
...
Hi
Please can someone tell me if its possible to move or more specifically
echo a picture into another part of a worksheet with code, ie how do you
identify the picture you have allready pasted.
I know you can type in "Picture 1" into the dropdown goto just above A
column, but can you echo it elsewhere?
Or is there a simple add on available?
Thanks in advance
David





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
How do you export pictures from my pictures file into a word docu Becky New Users to Excel 1 November 20th 09 07:02 PM
Print preview moving pictures Jonno Excel Discussion (Misc queries) 1 June 12th 09 01:30 PM
how to lock pictures from moving or being deleted in excel 2007 Joel Excel Discussion (Misc queries) 1 April 18th 07 03:44 PM
Excel's Compress Pictures or deleting pictures doesn't seem work guidod Excel Discussion (Misc queries) 1 January 29th 06 06:51 AM
Moving/deleting pictures within charts via macros Walshy[_3_] Excel Programming 1 October 21st 04 11:11 AM


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