Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Picture control in Excel/VBA ?

Hello,

I would like to insert a Picture control in a Userform (to draw inside) but
it does not appear in the control toolbox (in the extra control list
either...).
I am not sure it is available in VBA. Any idea ?

More generally, is there any way to use VB instructions such as 'Pset, Line,
Circle...' in a Userform ? (or possibly other ones that give the same
results...)
Thanks for any help

PS : I have an Excel 2002

--
Emeric


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Picture control in Excel/VBA ?

Hey Emeric,

There's an OCX available at:

http://www.vbcodesource.com/control.html

that gets good things said about it.

Else you could look into shelling out into Paintbrush - unless you want
to makes shapes programmatically (which from your email I guess you to)
in which case could you use Excel's drawing functionality? (On a
worksheet that is - not a userform AFAIK.)

HTH,
Gareth


Emeric wrote:
Hello,

I would like to insert a Picture control in a Userform (to draw inside) but
it does not appear in the control toolbox (in the extra control list
either...).
I am not sure it is available in VBA. Any idea ?

More generally, is there any way to use VB instructions such as 'Pset, Line,
Circle...' in a Userform ? (or possibly other ones that give the same
results...)
Thanks for any help

PS : I have an Excel 2002

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Picture control in Excel/VBA ?

There's an OCX available at:

http://www.vbcodesource.com/control.html

that gets good things said about it.


in fact I was looking for a standard control or instruction (not "custom").
But thanks Gareth, if I ever don't find an other solution I will use this
OCX ;)

Else you could look into shelling out into Paintbrush - unless you want
to makes shapes programmatically


yes I want to draw programmatically !

--
Emeric


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Picture control in Excel/VBA ?

Have you seen this?

http://www.andypope.info/vba/userformdraw.htm

I haven't opened it but it looks like it might do what you need.

Emeric wrote:
There's an OCX available at:

http://www.vbcodesource.com/control.html

that gets good things said about it.



in fact I was looking for a standard control or instruction (not "custom").
But thanks Gareth, if I ever don't find an other solution I will use this
OCX ;)


Else you could look into shelling out into Paintbrush - unless you want
to makes shapes programmatically



yes I want to draw programmatically !

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
Connect a number to a picture bank and import that picture to exce Dennis Hedo Excel Discussion (Misc queries) 1 March 22nd 10 02:17 PM
Excel spin box - no Control tab in Format Control dialong box tocoau Excel Worksheet Functions 7 August 10th 08 03:15 PM
How to extract a picture from an Excel worksheet into a picture fi SARANJAI Excel Discussion (Misc queries) 10 June 12th 05 05:00 AM
Programatically control picture property of Image control Brassman[_5_] Excel Programming 5 May 24th 05 09:32 PM
Copy picture from image control Ian[_14_] Excel Programming 4 February 8th 05 02:48 PM


All times are GMT +1. The time now is 01:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"