Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to clear all images?


Hi all, I have a quick question..keep in mind my vba skills are basic..
How could I tell excel to delete all images in a worksheet without
refencing each one specifically? Just swipe the slate clean of whatever
pictures are present without deleting numbers and such in the sheet..
Any ideas? :)


--
grahamhurlburt
------------------------------------------------------------------------
grahamhurlburt's Profile: http://www.excelforum.com/member.php...o&userid=29878
View this thread: http://www.excelforum.com/showthread...hreadid=554404

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Macro to clear all images?

Hi Graham,

Try:

'=============
Public Sub Tester()
ActiveSheet.Pictures.Delete
End Sub
'<<=============


--
Regards,
Norman


"grahamhurlburt"
<grahamhurlburt.29sdbn_1150950303.4073@excelforu m-nospam.com wrote in
message news:grahamhurlburt.29sdbn_1150950303.4073@excelfo rum-nospam.com...

Hi all, I have a quick question..keep in mind my vba skills are basic..
How could I tell excel to delete all images in a worksheet without
refencing each one specifically? Just swipe the slate clean of whatever
pictures are present without deleting numbers and such in the sheet..
Any ideas? :)


--
grahamhurlburt
------------------------------------------------------------------------
grahamhurlburt's Profile:
http://www.excelforum.com/member.php...o&userid=29878
View this thread: http://www.excelforum.com/showthread...hreadid=554404



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
Clear check box macro Kyla Dockery Excel Programming 8 August 5th 09 03:14 PM
How can I edit my macro button images in Excel 2007. Tarbe Excel Discussion (Misc queries) 3 April 13th 07 03:22 PM
Export custom Macro Button Images RWN Setting up and Configuration of Excel 1 November 26th 06 11:52 AM
Export custom Macro Button Images RWN Excel Discussion (Misc queries) 1 November 26th 06 10:53 AM
clear data in a macro Sharon[_3_] Excel Programming 0 July 24th 03 12:36 AM


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