Drawing

esbrao

New Member
Joined
Nov 23, 2012
Messages
1
Is there a way of drawing circles of a chosen radius in EXCEL format ? I have seen a way of drawing rectangles or squares etc. and draw rectangular plans such as building plan etc. But wonder how to draw a circle in EXCEL? Thanks in advance for any guidelines from Excel experts.
Esb Rao
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
assume x, y, R in b1, b2, b3
Code:
Sub a()
Dim shpCircle As Shape
With ActiveSheet
  Set shpCircle = .Shapes.AddShape(msoShapeOval, _
    .Range("B1").Value - Range("B3").Value, _
    .Range("B2").Value - Range("B3").Value, _
    .Range("B3").Value * 2, .Range("B3").Value * 2)
    End With
End Sub
 
Upvote 0
Hi

For ex., this draws a circle of radius 100 points at the top left of Sheet2 and names it:


Code:
Sub x()
Dim ov As Oval

Set ov = Worksheets("Sheet2").Ovals.Add(0, 0, 100, 100)
ov.Name = "MyCircle"
End Sub
 
Upvote 0

Forum statistics

Threads
1,216,057
Messages
6,128,527
Members
449,456
Latest member
SammMcCandless

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top