Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Rounded Rectangle

I have an old worksheet, created many years ago using Excel 3, but it has
survived over the years and is currently in Excel 2003.
It has on it some shapes described as "Rounded Rectangle" by Excel's own Alt
text created when the sheet is saved as a web page.
These Rounded Rectangles seem to be slightly different from Text Boxes and
from Command Buttons, as they can be rotated. (In the descriptive box near
the formula bar they are called "Text 123" whereas text boxes are called
"Text Box 123" and Buttons are called "Button 123".

I cannot find how to create a new shape of this type, other than by
copying/pasting an old one then changing the text and size etc (which is
what I've been doing for many years!).
I'd like to make one from scratch, so I can record myself making it and then
I can edit the macro etc.

--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263
--


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Rounded Rectangle

On the Drawing toolbar, Autoshapes Basic Shapes Rounded Rectangle and
record a macro.

Regards,
Peter T

"Adrian D. Bailey" wrote in message
...
I have an old worksheet, created many years ago using Excel 3, but it has
survived over the years and is currently in Excel 2003.
It has on it some shapes described as "Rounded Rectangle" by Excel's own

Alt
text created when the sheet is saved as a web page.
These Rounded Rectangles seem to be slightly different from Text Boxes and
from Command Buttons, as they can be rotated. (In the descriptive box near
the formula bar they are called "Text 123" whereas text boxes are called
"Text Box 123" and Buttons are called "Button 123".

I cannot find how to create a new shape of this type, other than by
copying/pasting an old one then changing the text and size etc (which is
what I've been doing for many years!).
I'd like to make one from scratch, so I can record myself making it and

then
I can edit the macro etc.

--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509

563263
--




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Rounded Rectangle

Thank you Peter.
These rounded rectangles aren't exactly the same as my original, but they
will do well enough.
(The web alt text doesn't say Rounded Rectangle, the descriptive box by the
formula bar says Autoshape instead of Text, and whn the object is selected
the display doesn't have shading around the outside. All irrelevant
differences, but indications that the objects are somehow different.)


--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509 563263
--

"Peter T" <peter_t@discussions wrote in message
...
On the Drawing toolbar, Autoshapes Basic Shapes Rounded Rectangle and
record a macro.

Regards,
Peter T

"Adrian D. Bailey" wrote in message
...
I have an old worksheet, created many years ago using Excel 3, but it has
survived over the years and is currently in Excel 2003.
It has on it some shapes described as "Rounded Rectangle" by Excel's own

Alt
text created when the sheet is saved as a web page.
These Rounded Rectangles seem to be slightly different from Text Boxes
and
from Command Buttons, as they can be rotated. (In the descriptive box
near
the formula bar they are called "Text 123" whereas text boxes are called
"Text Box 123" and Buttons are called "Button 123".

I cannot find how to create a new shape of this type, other than by
copying/pasting an old one then changing the text and size etc (which is
what I've been doing for many years!).
I'd like to make one from scratch, so I can record myself making it and

then
I can edit the macro etc.

--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509

563263
--






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Rounded Rectangle

I expect your rounded rectangle can be formatted to look the same as your
original. Right click format, look at the Line formats. Or maybe a Shadow

Shapes have an AlternativeText property, eg

Sub test()
Dim sh As Shape

With Range("B3:C5")
Set sh = ActiveSheet.Shapes.AddShape(msoShapeRoundedRectang le, _
.Left, .Top, .Width, .Height)
End With

sh.Name = "Rounded 1" ' error if name already exists
sh.AlternativeText = "My rounded rectangle"

End Sub

Regards,
Peter T

"Adrian D. Bailey" wrote in message
...
Thank you Peter.
These rounded rectangles aren't exactly the same as my original, but they
will do well enough.
(The web alt text doesn't say Rounded Rectangle, the descriptive box by

the
formula bar says Autoshape instead of Text, and whn the object is selected
the display doesn't have shading around the outside. All irrelevant
differences, but indications that the objects are somehow different.)


--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509

563263
--

"Peter T" <peter_t@discussions wrote in message
...
On the Drawing toolbar, Autoshapes Basic Shapes Rounded Rectangle

and
record a macro.

Regards,
Peter T

"Adrian D. Bailey" wrote in message
...
I have an old worksheet, created many years ago using Excel 3, but it

has
survived over the years and is currently in Excel 2003.
It has on it some shapes described as "Rounded Rectangle" by Excel's

own
Alt
text created when the sheet is saved as a web page.
These Rounded Rectangles seem to be slightly different from Text Boxes
and
from Command Buttons, as they can be rotated. (In the descriptive box
near
the formula bar they are called "Text 123" whereas text boxes are

called
"Text Box 123" and Buttons are called "Button 123".

I cannot find how to create a new shape of this type, other than by
copying/pasting an old one then changing the text and size etc (which

is
what I've been doing for many years!).
I'd like to make one from scratch, so I can record myself making it and

then
I can edit the macro etc.

--
Adrian D.Bailey, Information and Systems Manager, Dept.Human Sciences
Loughborough University, Loughborough Leics, LE11 3TU, UK.
Tel: 01509 223007 Fax: 01509 223940

Community Warden, Storer and Burleigh Areas. Out-of-hours Tel: 01509

563263
--








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
add rounded numbers using the rounded value Ruth Excel Discussion (Misc queries) 2 February 8th 10 07:59 PM
Rectangle Symbol cs_jono Excel Discussion (Misc queries) 3 April 25th 08 09:29 PM
Rectangle Box Keyrookie Excel Worksheet Functions 1 January 27th 08 08:09 AM
Resizeable Rectangle Bill Bell Excel Programming 1 October 27th 03 08:34 PM
Add text to a rectangle in VBA pk Excel Programming 2 October 19th 03 02:44 AM


All times are GMT +1. The time now is 02:12 AM.

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"