ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Deleting Pictures (https://www.excelbanter.com/excel-programming/338783-deleting-pictures.html)

Shatin[_2_]

Deleting Pictures
 
To delete everything on a worksheet, we can write:

Cells.Delete

Is there a similar command for deleting all the pictures on the worksheet?

Thanks!



Ed Ferrero[_5_]

Deleting Pictures
 
Hi Shatin,

ActiveSheet.Shapes.SelectAll

Ed Ferrero
http://edferrero.m6.net/

To delete everything on a worksheet, we can write:

Cells.Delete

Is there a similar command for deleting all the pictures on the worksheet?

Thanks!





Peter T

Deleting Pictures
 
To delete pictures only, but not other shapes, try

ActiveSheet.Pictures.Delete

Regards,
Peter T


"Shatin" wrote in message
...
To delete everything on a worksheet, we can write:

Cells.Delete

Is there a similar command for deleting all the pictures on the worksheet?

Thanks!





Shatin[_2_]

Deleting Pictures
 
Peter,

Exactly what I am looking for! Thanks so much.

"Peter T" <peter_t@discussions wrote in message
...
To delete pictures only, but not other shapes, try

ActiveSheet.Pictures.Delete

Regards,
Peter T


"Shatin" wrote in message
...
To delete everything on a worksheet, we can write:

Cells.Delete

Is there a similar command for deleting all the pictures on the

worksheet?

Thanks!








All times are GMT +1. The time now is 04:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com