PC Review


Reply
Thread Tools Rate Thread

ChartObjects and Columns: Different Size Units?

 
 
(PeteCresswell)
Guest
Posts: n/a
 
      3rd Dec 2006
When I size my charts in VBA, I make them 288 something-or-others in width.

To get three columns to match that width, the column sizes have to add up to
about 52.72.

Can anybody put a name on those respective units of measurement?

Is there a way for me to assign dimensions using some common unit?
--
PeteCresswell
 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      4th Dec 2006
The chart is measured in points (1/72 inch). The column width is in
characters ('0' in the default font). You can get the column width in vba
using something like:

Range("C:C").Width

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"(PeteCresswell)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> When I size my charts in VBA, I make them 288 something-or-others in
> width.
>
> To get three columns to match that width, the column sizes have to add up
> to
> about 52.72.
>
> Can anybody put a name on those respective units of measurement?
>
> Is there a way for me to assign dimensions using some common unit?
> --
> PeteCresswell



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to size rows and columns in pixels rather than units Mark Stephens Microsoft Excel Programming 3 11th Jun 2008 02:32 PM
Odd Page Size Units Jason Microsoft Word Document Management 0 6th Dec 2007 07:02 PM
Explorer size column units andy29 Microsoft Windows 2000 0 15th Feb 2007 01:45 AM
Re: Change datalabel font size for all chartobjects in a row Marie J-son Microsoft Excel Programming 2 5th Dec 2004 11:37 PM
Re: Change datalabel font size for all chartobjects in a row Marie J-son Microsoft Excel Charting 2 5th Dec 2004 07:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:02 AM.