A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Removal of cell objects



 
 
Thread Tools Display Modes
  #1  
Old November 7th, 2008, 02:43 PM posted to microsoft.public.excel.misc
m
external usenet poster
 
Posts: 143
Default Removal of cell objects

Removal of cell objects
How do I remove a picture from multiple cells?
For example : The arrow placed to one side of a cell to indicate the
something about the data the cell contained. Selecting it indicates it is a
"picture" that can be individually formatted or copied or deleted
individually.

BUT: I have not been able to remove it by deleting the column or clearing
the contents of a selected range of cells. For example when I delete a column
of cells containing the offending objects – they remain in place, they remain
behind when I move the data the cell originally contained to another column.
Again, I can select each "picture" and delete each individually but would
like to delete these objects from a range of cells.

This has been a continuing "headache"
Thank you
M

  #2  
Old November 7th, 2008, 02:48 PM posted to microsoft.public.excel.misc
Gary''s Student
external usenet poster
 
Posts: 7,584
Default Removal of cell objects

How about this tiny macro:

Sub picgone()
ActiveSheet.Pictures.Delete
End Sub

it will remove all picture on a sheet.
--
Gary''s Student - gsnu200812


"M" wrote:

Removal of cell objects
How do I remove a picture from multiple cells?
For example : The arrow placed to one side of a cell to indicate the
something about the data the cell contained. Selecting it indicates it is a
"picture" that can be individually formatted or copied or deleted
individually.

BUT: I have not been able to remove it by deleting the column or clearing
the contents of a selected range of cells. For example when I delete a column
of cells containing the offending objects – they remain in place, they remain
behind when I move the data the cell originally contained to another column.
Again, I can select each "picture" and delete each individually but would
like to delete these objects from a range of cells.

This has been a continuing "headache"
Thank you
M

  #3  
Old November 7th, 2008, 03:21 PM posted to microsoft.public.excel.misc
m
external usenet poster
 
Posts: 143
Default Removal of cell objects

To: "Gary''s Student"
IT WORKED !!!!
Like Magic - This has pestered me for year(s) - finally got to me so I asked -
Thanks Again :-) What if I wanted to have it apply only to a selection
within an active sheet - yes I am just now learning a bit of VBA

Thanks AGAIN
M

  #4  
Old November 7th, 2008, 03:43 PM posted to microsoft.public.excel.misc
Gary''s Student
external usenet poster
 
Posts: 7,584
Default Removal of cell objects

What you are asking for is a little difficult.

You see, the pictures do not "live" in cells. They "float" above the cells.
That's why you can move them around the worksheet.


However each Picture has a set of properties like Left, Top, etc. that
define the size of the picture and where it is.

We would have to create a macro to loop over each picture and decide if it
should be deleted or not based upon its position
--
Gary''s Student - gsnu200812


"M" wrote:

To: "Gary''s Student"
IT WORKED !!!!
Like Magic - This has pestered me for year(s) - finally got to me so I asked -
Thanks Again :-) What if I wanted to have it apply only to a selection
within an active sheet - yes I am just now learning a bit of VBA

Thanks AGAIN
M

  #5  
Old November 7th, 2008, 04:02 PM posted to microsoft.public.excel.misc
m
external usenet poster
 
Posts: 143
Default Removal of cell objects

AGAIN "Gary''s Student"
Thanks, I have Experienced this "FLOATTING" above the worksheet and always
wondered about it-
Some day, I might like to add "positioned" pictures to cells for visual
inpact but I am not there yet.
Thanks Gary''s Student
M
  #6  
Old November 7th, 2008, 04:09 PM posted to microsoft.public.excel.misc
Gary''s Student
external usenet poster
 
Posts: 7,584
Default Removal of cell objects

Have a good weekend!
--
Gary''s Student - gsnu200812


"M" wrote:

AGAIN "Gary''s Student"
Thanks, I have Experienced this "FLOATTING" above the worksheet and always
wondered about it-
Some day, I might like to add "positioned" pictures to cells for visual
inpact but I am not there yet.
Thanks Gary''s Student
M

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:26 AM.


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