Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Autoshapes on Excel user forms
Hi everyone,
Is it possible to draw autoshapes on excel user forms with code on form load? Regards Stefano |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Autoshapes on Excel user forms
Is it possible to draw autoshapes on excel user forms with
code on form load? Yes, look up the AddShape method of the Shapes Collection. Here is an example... Worksheets("Sheet1").Shapes.AddShape msoShapeCloudCallout, 20, 40, 50, 60 Rick |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Autoshapes on Excel user forms
Hi Stefano,
============= Is it possible to draw autoshapes on excel user forms with code on form load? ============= There is no in-built way to add a shape to a Userform You could, however use a label or an image control to display a picture of the shape. See, for example, Andy Pope at: Drawing on userform http://www.andypope.info/vba/userformdraw.htm --- Regards. Norman |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Autoshapes on Excel user forms
Hmm! You said "user forms" (two words) and I thought you meant a worksheet
"form"... Norman read that you meant UserForm (one word)... I'm guessing Norman is probably right. Rick "Rick Rothstein (MVP - VB)" wrote in message ... Is it possible to draw autoshapes on excel user forms with code on form load? Yes, look up the AddShape method of the Shapes Collection. Here is an example... Worksheets("Sheet1").Shapes.AddShape msoShapeCloudCallout, 20, 40, 50, 60 Rick |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
User Forms in excel 2007 | Excel Programming | |||
Help with programming Excel User Forms | Excel Programming | |||
User Forms - getting them to talk to Excel | Excel Programming | |||
User Forms and Excel Functions | Excel Programming | |||
User forms in Excel | Excel Programming |