ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Rectangle with curved corners (https://www.excelbanter.com/excel-programming/360475-rectangle-curved-corners.html)

Zone

Rectangle with curved corners
 
I want to use Freeform statements such as Add Nodes msoSegmentCurve to
create a rectangle with curved corners, but I don't understand the
arguments for this code. Excel 2002.


Tom Ogilvy

Rectangle with curved corners
 
why not use a rounded rectangle:

ActiveSheet.Shapes.AddShape( _
msoShapeRoundedRectangle, 299.25, 248.25, _
84.75,42#)

--
Regards,
Tom Ogilvy


"Zone" wrote:

I want to use Freeform statements such as Add Nodes msoSegmentCurve to
create a rectangle with curved corners, but I don't understand the
arguments for this code. Excel 2002.



Zone

Rectangle with curved corners
 
Tom, thanks for the reply. However, I do not want to use the standard
shape because I want to deform it according to mathematical
calculations. So, I really need an explanation of the msoSegmentCurve
arguments.
James



All times are GMT +1. The time now is 07:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com