Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Chart identification

Tod was kind enough to supply me with this piece of code:

With ActiveSheet.ChartObjects("Chart 1")
.Activate
.Top = Range("C3").Top
.Left = Range("C3").Left
End With

Which enables me to move Chart 1 to cell C3. I need to correct this so that
I can move an already activated chart regardless of the chart id.

Thanks
The Doctor
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Chart identification

With ActiveChart.Parent
.Top = Range("C3").Top
.Left = Range("C3").Left
End With


Dr.Schwartz wrote:
Tod was kind enough to supply me with this piece of code:

With ActiveSheet.ChartObjects("Chart 1")
.Activate
.Top = Range("C3").Top
.Left = Range("C3").Left
End With

Which enables me to move Chart 1 to cell C3. I need to correct this so that
I can move an already activated chart regardless of the chart id.

Thanks
The Doctor



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Identification of what day it is [email protected] Excel Worksheet Functions 5 March 8th 08 07:47 PM
Currency identification Balaji Excel Discussion (Misc queries) 2 August 18th 07 07:38 AM
Chart Identification Problems lopsided[_12_] Excel Programming 2 February 12th 04 07:52 AM
checkbox identification devin Excel Programming 0 January 21st 04 04:15 PM
checkbox identification devin Excel Programming 1 January 14th 04 04:19 PM


All times are GMT +1. The time now is 08:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"