Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default I can't delete an image in excel workbook

I have been given this excel workbook to fix. The workbook has 12
worksheets (one for each month). In the top, left-hand corner of each
worksheet is an image. My mission is to delete this image on each of
the 12 worksheets - but I can't do it.

It appears to me that there are hundreds of images stacked on each
sheet. I can select the image. I can move the image. I can resize
the image. I can delete the image. But what ever I try, there seems to
be another image underneath it!! I have sat for up to 30 minutes
trying to delete one image after the other to get to the bottom of the
pile, but there is no end. Also, as my computer is processing my
command (the delete for example) the image appears to jiggle, for
seconds, as though it is processing through hundreds of stacked images.

Is my theory of stacked images correct? If so, is there a way to
select all the images at once and delete them in one step (I have tried
to select the area by dragging my mouse across it, but I only appear to
be selecting the cells beneath the image, not the image(s)
it(them)selves)?

When I look at the image properties, I see nothing of any help. I am
quite experienced with excel but I have never seen anything like this.
Has anyone had any experience with this crazy situation?

Thank you in advance for your suggestions,
L

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default I can't delete an image in excel workbook

Try

F5
Special
Objects
OK
Delete

Or try this macro on each sheet

Sub Shapes1()
'Delete all Objects except Comments
On Error Resume Next
ActiveSheet.DrawingObjects.Visible = True
ActiveSheet.DrawingObjects.Delete
On Error GoTo 0
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl



wrote in message ps.com...
I have been given this excel workbook to fix. The workbook has 12
worksheets (one for each month). In the top, left-hand corner of each
worksheet is an image. My mission is to delete this image on each of
the 12 worksheets - but I can't do it.

It appears to me that there are hundreds of images stacked on each
sheet. I can select the image. I can move the image. I can resize
the image. I can delete the image. But what ever I try, there seems to
be another image underneath it!! I have sat for up to 30 minutes
trying to delete one image after the other to get to the bottom of the
pile, but there is no end. Also, as my computer is processing my
command (the delete for example) the image appears to jiggle, for
seconds, as though it is processing through hundreds of stacked images.

Is my theory of stacked images correct? If so, is there a way to
select all the images at once and delete them in one step (I have tried
to select the area by dragging my mouse across it, but I only appear to
be selecting the cells beneath the image, not the image(s)
it(them)selves)?

When I look at the image properties, I see nothing of any help. I am
quite experienced with excel but I have never seen anything like this.
Has anyone had any experience with this crazy situation?

Thank you in advance for your suggestions,
L



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default I can't delete an image in excel workbook

I've seen that "stacking" thing before. This is a quick and dirty macro
that should delete images on your screen.

Sub Macro1()
Dim ShapeName As Shape

For Each ShapeName In ActiveSheet.Shapes
ActiveSheet.Shapes(ShapeName.Name).Delete
Next ShapeName
End Sub

Try that on a backed up copy of your file: paste it in as a macro, and
run.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,073
Default I can't delete an image in excel workbook

Have you tried the "Select Multiple Objects" tool which might be on the
Drawing Toolbar.
If it's not there then go Tools|Customize...|Commands tab|Click on
"Drawing" in the Categories box on the left then click and drag the
"Select Multiple Objects" tool to the Drawing toolbar.
Click the tool then click Select All then press the Delete key.

Ken Johnson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default I can't delete an image in excel workbook

Hi Dave

Warning:

Sub Macro1()
Dim ShapeName As Shape

For Each ShapeName In ActiveSheet.Shapes
ActiveSheet.Shapes(ShapeName.Name).Delete
Next ShapeName
End Sub


See this page why
http://www.rondebruin.nl/controlsobjectsworksheet.htm



--
Regards Ron de Bruin
http://www.rondebruin.nl



"Dave O" wrote in message ups.com...
I've seen that "stacking" thing before. This is a quick and dirty macro
that should delete images on your screen.

Sub Macro1()
Dim ShapeName As Shape

For Each ShapeName In ActiveSheet.Shapes
ActiveSheet.Shapes(ShapeName.Name).Delete
Next ShapeName
End Sub

Try that on a backed up copy of your file: paste it in as a macro, and
run.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default I can't delete an image in excel workbook

Hi, Ron- good point. Thanks.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default I can't delete an image in excel workbook

HOLY COW!! Ron, your first suggestion kicked butt!!

I'm going to try the other suggestions on the other worksheets but the
first suggestion that I tried worked beautifully: F5, Special...,
Objects, OK, Delete !! Beautiful, elegant, simple!!

Thank you all so much for your suggestions!!
L

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
enable automatic refresh Vass Excel Worksheet Functions 2 March 11th 06 04:36 AM
excel exits unexpectedly or hangs the second time I open workbook r_m_i Excel Discussion (Misc queries) 0 February 9th 06 10:14 PM
How to refresh a Excel workbook with pivot & ADO query report in batch mode Karen Middleton Excel Discussion (Misc queries) 1 April 29th 05 02:05 PM
How can I delete similar rows in excel workbook with many sheets? JSchrader Excel Worksheet Functions 1 April 26th 05 06:40 PM
Automate Excel to powerpoint - Graphs along with Datasheet (not workbook) Hari Prasadh Charts and Charting in Excel 4 February 17th 05 02:44 PM


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