LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Moving Chart Objects

with ActiveChart.Parent
.top=range("A1").top
.left=range("A1").Left
end with

--
Regards,
Tom Ogilvy


"Art" wrote in message
...

How can I do this with the active chart? I want to create a chart,

move it to a specified position (A1), create another chart and move it to a
different position (A20), and so on.

Thanks.

Art

----- Tom Ogilvy wrote: -----

Not sure how this looks in Excel forum, but here in the newsgroup the
period/fullstops have been removed

with ActiveSheet.ChartObjects("mychart")
.top=range("D3").top
.left=range("D3").Left
end with

also, .left=range("D3").top was a typo - corrected above.


--
Regards,
Tom Ogilvy


"i-Zapp " wrote in message
...
with ActiveSheet.ChartObjects("mychart")
top=range("D3").top
left=range("D3").top
end with
---

Message posted from http://www.ExcelForum.com/





 
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
Images/objects moving when printing or print preview. Wiseman Excel Discussion (Misc queries) 1 October 29th 09 08:32 PM
moving objects with cell martinson Excel Worksheet Functions 0 July 3rd 08 03:13 PM
Problem with preventing objects moving and sizing with cells Nichelle H. New Users to Excel 2 May 31st 07 04:17 AM
How to Name Chart Objects DCSwearingen Excel Discussion (Misc queries) 2 July 30th 06 10:27 AM
Moving Objects in a Worksheet Native Excel Discussion (Misc queries) 2 January 11th 06 02:56 AM


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