LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Moving/deleting pictures within charts via macros

Hi,

Could you please help me...

I have a chart on excel and a macro is run each day to produce or update
this chart.

problem I am having is within the chart I have a picture (A traffic light) I
tried to record a macro that selects the picture, deletes it then gets the
picture from somewhere else (Red, amber or green light depending)on the same
sheet and pastes it onto the chart. Now it gets the picture fine and pastes
it onto the chart but it wont do the delete part ??? or it wont let me select
the picture and move it on the chart ??? (Think the prob is actually
selecting the picture within the chart ??? Not sure why this is, could you
please help me ?????

this is the code that Dont work...:
'ActiveSheet.ChartObjects("Chart 55").Activate
error here - 'ActiveChart.Shapes("Picture 2").Select
'Selection.Delete

Thanks


 
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
Print preview moving pictures Jonno Excel Discussion (Misc queries) 1 June 12th 09 01:30 PM
Deleting pictures from multiple worksheets dford Excel Discussion (Misc queries) 2 December 24th 06 04:43 AM
Excel's Compress Pictures or deleting pictures doesn't seem work guidod Excel Discussion (Misc queries) 1 January 29th 06 06:51 AM
deleting 100's of pictures, keep data jsc3489 Excel Worksheet Functions 0 June 8th 05 07:54 PM
Deleting pictures using VBA?? Richard1284 Excel Programming 3 May 23rd 04 04:19 PM


All times are GMT +1. The time now is 10:43 PM.

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"