Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 361
Default Shape adjustments - how to calculate adjustment for trapezoid

I am having problems getting correct adjustments figure for a trapezoid. In
Excel 2003 it was in a range of 0 to 0.5 with 0.5 effectively giving a
triangle.

In Excel 2007 this figure now seems depend on the height and width as well
(ie if you have a short wide shape the figure to get half way accross is much
higher).

I have not been able to discern how this is calculated and need to do this
as I am creating a diagram with several of these used which need to be
adjusted as a ratio from top to bottom (which worked easily in XL2003)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Shape adjustments - how to calculate adjustment for trapezoid

Hi,

To form a triangle from the trapezoid the adjustment value is the ratio

1 / (Height/(Width/2))

I have an illustrative example which I will add to my site over the weekend.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Carl" wrote in message
...
I am having problems getting correct adjustments figure for a trapezoid. In
Excel 2003 it was in a range of 0 to 0.5 with 0.5 effectively giving a
triangle.

In Excel 2007 this figure now seems depend on the height and width as well
(ie if you have a short wide shape the figure to get half way accross is
much
higher).

I have not been able to discern how this is calculated and need to do this
as I am creating a diagram with several of these used which need to be
adjusted as a ratio from top to bottom (which worked easily in XL2003)


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 361
Default Shape adjustments - how to calculate adjustment for trapezoid



"Andy Pope" wrote:

Hi,

To form a triangle from the trapezoid the adjustment value is the ratio

1 / (Height/(Width/2))

I have an illustrative example which I will add to my site over the weekend.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Carl" wrote in message
...
I am having problems getting correct adjustments figure for a trapezoid. In
Excel 2003 it was in a range of 0 to 0.5 with 0.5 effectively giving a
triangle.

In Excel 2007 this figure now seems depend on the height and width as well
(ie if you have a short wide shape the figure to get half way accross is
much
higher).

I have not been able to discern how this is calculated and need to do this
as I am creating a diagram with several of these used which need to be
adjusted as a ratio from top to bottom (which worked easily in XL2003)


Thanks Andy - does the job perfectly (even though means version specific code required which is a pain).


Is there any documentation by microsoft on what the adjustments are for the
various shapes and how calculated - this seems to be poorly (or obscurely)
documented.

Carl.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Shape adjustments - how to calculate adjustment for trapezoid

Looks to be as good as it gets.
http://msdn.microsoft.com/en-us/libr...ffice.10).aspx

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Carl" wrote in message
...


"Andy Pope" wrote:

Hi,

To form a triangle from the trapezoid the adjustment value is the ratio

1 / (Height/(Width/2))

I have an illustrative example which I will add to my site over the
weekend.

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Carl" wrote in message
...
I am having problems getting correct adjustments figure for a trapezoid.
In
Excel 2003 it was in a range of 0 to 0.5 with 0.5 effectively giving a
triangle.

In Excel 2007 this figure now seems depend on the height and width as
well
(ie if you have a short wide shape the figure to get half way accross
is
much
higher).

I have not been able to discern how this is calculated and need to do
this
as I am creating a diagram with several of these used which need to be
adjusted as a ratio from top to bottom (which worked easily in XL2003)


Thanks Andy - does the job perfectly (even though means version specific
code required which is a pain).


Is there any documentation by microsoft on what the adjustments are for
the
various shapes and how calculated - this seems to be poorly (or obscurely)
documented.

Carl.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Shape adjustments - how to calculate adjustment for trapezoid

Page added to website
http://www.andypope.info/tips/tip013.htm

Andy Pope wrote:
Hi,

To form a triangle from the trapezoid the adjustment value is the ratio

1 / (Height/(Width/2))

I have an illustrative example which I will add to my site over the
weekend.

Cheers
Andy


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
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
Calculate quantity of shapes inside another shape jlclyde Excel Discussion (Misc queries) 8 July 9th 11 06:00 AM
my curser changed from arrow shape to a cross shape???? bj New Users to Excel 1 February 5th 07 02:47 PM
Calculate,Copy, Paste Cell Group Macro Adjustments [email protected] Excel Programming 2 March 1st 06 03:49 AM
Editing text in text box grouped within a trapezoid Linking to specific cells in pivot table Excel Programming 11 August 16th 05 09:17 AM
HOW DO I CALCULATE SUFACE AREA DEPENDENT ON SHAPE Randy Excel Discussion (Misc queries) 4 March 17th 05 11:35 PM


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