Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

draw a circle & get cell's contents on top?

116 views
Skip to first unread message

Jack

unread,
Dec 12, 2005, 5:09:08 PM12/12/05
to
Re Excel 97 --

Is there a way to draw a circle (I know how to do that) over a cell and get
the cell's contents to appear on top?

Jack


Mark

unread,
Dec 12, 2005, 5:23:49 PM12/12/05
to
You can set the fill color to none and see the cells behind.

Gord Dibben

unread,
Dec 12, 2005, 6:50:13 PM12/12/05
to
Jack

Set the circle's Color Property to 100% Transparent.

Right-click on circle and Format>Colors and Lines.

Contents will show through but not be "on top".

If you want to draw circles around selected cells here's a macro from Bob
Flanagan.

'Draw a Circle Around Highlighted Cells
'This command draws circles. And, it does it around each area that is
'selected, so that you can insert many circles at one time!


Sub My_Circle()
Dim x, y As Single, area As Range

'rotate through areas - this allows multiple circles to be drawn
For Each area In Selection.Areas
With area
' x and y are numbers that are a function of the
' area's height and width
x = .Height * 0.2
y = .Width * 0.2

ActiveSheet.Ovals.Add Top:=.Top - x, Left:=.Left - y, _
Height:=.Height + 2 * x, Width:=.Width + 2 * y

ActiveSheet.Ovals(ActiveSheet.Ovals.Count) _
.Interior.ColorIndex = xlNone
End With
Next area
End Sub


Gord Dibben Excel MVP

On Mon, 12 Dec 2005 17:09:08 -0500, "Jack" <jslimp0...@earthlink.net>
wrote:

CLR

unread,
Dec 12, 2005, 7:15:17 PM12/12/05
to
Select the circle, and in the Formula Bar type "=A1" without quotes.....the
value in cell A1 will appear as tho it be text in the circle...

Vaya con Dios,
Chuck, CABGx3


"Gord Dibben" <gorddibbATshawDOTca@> wrote in message
news:jl2sp1pqsn817630d...@4ax.com...

Gord Dibben

unread,
Dec 12, 2005, 7:39:49 PM12/12/05
to
Dynamic text in a circle<g>

Can't remember if I ever knew about that trick, Chuck


Gord

CLR

unread,
Dec 12, 2005, 8:26:28 PM12/12/05
to
Yeah, it's neat, and works good too if you want the result of a formula
inside a drawing object....just put the formula in a helper cell somewhere
and do this trick.....


Vaya con Dios,
Chuck, CABGx3

"Gord Dibben" <gorddibbATshawDOTca@> wrote in message

news:ll5sp197fb3vq7d0l...@4ax.com...

Jack

unread,
Dec 12, 2005, 10:22:23 PM12/12/05
to
Thanks everybody -- good stuff!


Jack


Desert Piranha

unread,
Dec 12, 2005, 10:33:16 PM12/12/05
to

CLR,
Yeah, i use this on text boxes and whatnot,
and you can have your "Source Cell" on another sheet IE:
"=Sheet2!A1"
Dave


--
Desert Piranha


------------------------------------------------------------------------
Desert Piranha's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=28934
View this thread: http://www.excelforum.com/showthread.php?threadid=492895

CLR

unread,
Dec 13, 2005, 7:04:19 AM12/13/05
to
Right-on!........good point to remember, thanks for sharing that.....

Vaya con Dios,
Chuck, CABGx3


"Desert Piranha"
<Desert.Piranha.1zy...@excelforum-nospam.com> wrote in
message news:Desert.Piranha.1zy...@excelforum-nospam.com...

0 new messages