LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Removing objects without unmerging cells

When I use this code on a worksheet that doesn't contain
clip art to delete, I get the error message "This
operation will cause some merged cells to unmerge. Do you
want to continue". How can I use this code to delete
unwanted clip art objects without unmerging any cells?

Set myDocument = Worksheets(1)
myDocument.Shapes.SelectAll
Selection.Delete
 
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
removing objects..! via135 via OfficeKB.com Excel Discussion (Misc queries) 2 March 15th 10 05:06 PM
Unmerging A Named Range Minitman Excel Discussion (Misc queries) 0 July 16th 08 07:43 AM
import csv data into a range with merged cells without unmerging mailpbj Excel Discussion (Misc queries) 2 November 25th 07 09:12 PM
unmerging cell and filling it Tracy Excel Worksheet Functions 0 November 14th 07 06:59 PM
Merging and unmerging cells [email protected] Excel Worksheet Functions 1 April 11th 06 04:19 PM


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