Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Macro to remove pictures from cut and paste




"boe" wrote:

Sub ButtonRemove()
Dim myshape As Shape
For Each myshape In ActiveSheet.Shapes


if myshape.topleftcell.column<1 then

myshape.Delete


endif

Next myshape
End Sub



2 lines added :)

keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool
  #2   Report Post  
Posted to microsoft.public.excel.programming
boe boe is offline
external usenet poster
 
Posts: 1
Default Macro to remove pictures from cut and paste

Thank you so much - this worked like a charm!

"keepITcool" wrote in message
...



"boe" wrote:

Sub ButtonRemove()
Dim myshape As Shape
For Each myshape In ActiveSheet.Shapes


if myshape.topleftcell.column<1 then

myshape.Delete


endif

Next myshape
End Sub



2 lines added :)

keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool



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 can i make a frame in excel, paste pictures without resizing? Ronald Excel Discussion (Misc queries) 1 November 7th 08 03:07 PM
How to paste pictures as data inside cell? cna48 Excel Discussion (Misc queries) 1 November 5th 07 11:37 PM
cut and paste pictures in excel 2003 Reo Excel Worksheet Functions 5 September 19th 06 01:47 AM
delete pictures with a macro Noel Rietman Excel Discussion (Misc queries) 1 March 20th 06 04:43 PM
Macro to delete pictures ? Steve Excel Worksheet Functions 8 October 18th 05 10:09 PM


All times are GMT +1. The time now is 07:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"