Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Urgent help!! How to automatically resize all the charts? Thank you!



I have made lots of charts for the graphic designer. Now she said to me

my charts are too big when she copies those to illustrator (she has to
resize every one). So she asked me to resize all the charts to the size

she wants in excel. Now, my problem is how I can automatically change
the size of my charts. There are too many and I cannot work on
individual. The deadline is approaching soon. Please help me figure it
out! Thank you very much!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Urgent help!! How to automatically resize all the charts? Thank yo

Charts have properties you can set via code: Top, Left, Width, Height. To
get the sizes right, manually resize one and then look at it through the VBA
Immediate pane by something like:

? Sheets("Sheet1").ChartObjects(n).Chart.Top
? Sheets("Sheet1").ChartObjects(n).Chart.Left
....

You can use a For Each loop to loop through the charts in each worksheet:
Dim MyChart as ChartObject
For Each MyChart in ActiveSheet.ChartObjects
MyChart.Chart.Top = ...
etc
Next MyChart

Just an outline of the solution, but it can be done without too much hassle.


"crossingmind" wrote:



I have made lots of charts for the graphic designer. Now she said to me

my charts are too big when she copies those to illustrator (she has to
resize every one). So she asked me to resize all the charts to the size

she wants in excel. Now, my problem is how I can automatically change
the size of my charts. There are too many and I cannot work on
individual. The deadline is approaching soon. Please help me figure it
out! Thank you very much!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Urgent help!! How to automatically resize all the charts? Thank yo

Thank you very much for your help! I haven't tried but it looks good
for my problem. Thanks again!

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
Charts resize themselves WillV Charts and Charting in Excel 0 December 12th 08 03:51 AM
Automatically resize excel charts when exporting them to PowerPoin mustang25 Charts and Charting in Excel 2 May 20th 06 07:10 AM
Pie Charts Resize Automatically - How To Avoid? John Mansfield Charts and Charting in Excel 0 May 11th 05 08:12 PM
Urgent help! how to automatically resize all the charts? crossingmind Excel Worksheet Functions 2 April 28th 05 04:56 PM
URGENT - NEED PRO EXCEL PROGRAMMER - TO AUTOMATICALLY CHANGE TITLES IN EXCEL CHARTS Marcello do Guzman Excel Programming 2 October 7th 03 05:11 PM


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