+ Reply to Thread
Results 1 to 4 of 4

How to Draw an Arc which is 1/4 of a circle?

  1. #1
    Johannes
    Guest

    How to Draw an Arc which is 1/4 of a circle?

    Is there a way to draw an arc which is 1/4 of a circle?
    It looks like Shapes.addcurve only draw bezier curve, but how do I make the
    curve a 1/4 of a circle?

    I also tried Shapes.BuildFreeForm().AddNodes(), but I couldn't get it to
    draw 1/4 of a circle.

  2. #2
    JE McGimpsey
    Guest

    Re: How to Draw an Arc which is 1/4 of a circle?

    This appears to work for me:

    ActiveSheet.Shapes.AddShape(msoShapeArc, 100#, 100#, 75#, 75#)



    In article <1D8822F2-5CD6-4375-A355-652BAC4C9482@microsoft.com>,
    "Johannes" <Johannes@discussions.microsoft.com> wrote:

    > Is there a way to draw an arc which is 1/4 of a circle?
    > It looks like Shapes.addcurve only draw bezier curve, but how do I make the
    > curve a 1/4 of a circle?
    >
    > I also tried Shapes.BuildFreeForm().AddNodes(), but I couldn't get it to
    > draw 1/4 of a circle.


  3. #3
    Mike Fogleman
    Guest

    Re: How to Draw an Arc which is 1/4 of a circle?

    In Excel 2000 I had to lose the parentheses for it to work.

    ActiveSheet.Shapes.AddShape msoShapeArc, 100#, 100#, 75#, 75#

    Mike F

    "JE McGimpsey" <jemcgimpsey@mvps.org> wrote in message
    news:jemcgimpsey-447A41.17301626082005@msnews.microsoft.com...
    > This appears to work for me:
    >
    > ActiveSheet.Shapes.AddShape(msoShapeArc, 100#, 100#, 75#, 75#)
    >
    >
    >
    > In article <1D8822F2-5CD6-4375-A355-652BAC4C9482@microsoft.com>,
    > "Johannes" <Johannes@discussions.microsoft.com> wrote:
    >
    >> Is there a way to draw an arc which is 1/4 of a circle?
    >> It looks like Shapes.addcurve only draw bezier curve, but how do I make
    >> the
    >> curve a 1/4 of a circle?
    >>
    >> I also tried Shapes.BuildFreeForm().AddNodes(), but I couldn't get it to
    >> draw 1/4 of a circle.




  4. #4
    JE McGimpsey
    Guest

    Re: How to Draw an Arc which is 1/4 of a circle?

    True - I had orignally assigned the shape to an object variable, which
    then requires the parens. Thanks for the correction.

    In article <#xwjchvqFHA.248@TK2MSFTNGP14.phx.gbl>,
    "Mike Fogleman" <mikefogleman@insightbb.com> wrote:

    > In Excel 2000 I had to lose the parentheses for it to work.
    >
    > ActiveSheet.Shapes.AddShape msoShapeArc, 100#, 100#, 75#, 75#


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1