PC Review


Reply
Thread Tools Rate Thread

ActiveX Properties missing from menu

 
 
Dave Unger
Guest
Posts: n/a
 
      17th Sep 2010
Hello,

Running xl2003 & xl2007.

I知 hoping someone can point out to me what I知 missing here.

I turn on the macro recorder, and add an ActiveX control to the
worksheet. I then right click on the control, and I see the
Properties & View Code menu items. As I壇 expect.

Sub Macro3()
ActiveSheet.OLEObjects.Add(ClassType:="Forms.CommandButton.1",
Link:=False _
, DisplayAsIcon:=False, Left:=143.25, Top:=59.25, Width:=96,
Height:= _
45.75).Select
End Sub

Now I run the above macro recorder code, and a new control is added to
the worksheet. But when I right click on this control, the Properties
& View Code items are missing. Why?

Thank you,

Regards,

DaveU


 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      17th Sep 2010
I think it's a bug (or a feature <vbg>).

You can still doubleclick on it and get taken into the VBE in its _Click event
in that worksheet's module.

And from there, you can see the properties window (hit F4 with the commandbutton
selected).

Another way to see the properties is to select the commandbutton while in design
mode (another icon on that control toolbox toolbar) and then click the
Properties icon (also on the control toolbox toolbar).



On 09/17/2010 13:10, Dave Unger wrote:
> Hello,
>
> Running xl2003& xl2007.
>
> I知 hoping someone can point out to me what I知 missing here.
>
> I turn on the macro recorder, and add an ActiveX control to the
> worksheet. I then right click on the control, and I see the
> Properties& View Code menu items. As I壇 expect.
>
> Sub Macro3()
> ActiveSheet.OLEObjects.Add(ClassType:="Forms.CommandButton.1",
> Link:=False _
> , DisplayAsIcon:=False, Left:=143.25, Top:=59.25, Width:=96,
> Height:= _
> 45.75).Select
> End Sub
>
> Now I run the above macro recorder code, and a new control is added to
> the worksheet. But when I right click on this control, the Properties
> & View Code items are missing. Why?
>
> Thank you,
>
> Regards,
>
> DaveU
>
>


--
Dave Peterson
 
Reply With Quote
 
Dave Unger
Guest
Posts: n/a
 
      18th Sep 2010
Hi Dave,

On Sep 17, 12:23*pm, Dave Peterson <peter...@XSPAMverizon.net> wrote:
> I think it's a bug (or a feature <vbg>).


That answers my question, now I know it's not just something I'm doing
wrong. The sooner I get a handle on all these "features", the better
off I'll be!!

Thanks you very much, always appreciate your replies,

Regards,

DaveU
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Management - missing properties menu =?Utf-8?B?TmV3IHRvIFZpc3Rh?= Windows Vista General Discussion 5 4th May 2010 11:54 AM
Default Start Menu option missing from Taskbar & Start Menu properties screen lmoiola@gmail.com Windows Vista General Discussion 6 3rd Mar 2007 04:37 AM
Properties option missing from right-click menu when finding users in ADUC cbingel@gmail.com Microsoft Windows 2000 Active Directory 2 19th Aug 2006 12:29 PM
ActiveX in .NET and missing properties Eric Microsoft Dot NET 2 13th Jul 2005 10:35 AM
ActiveX control properties missing! Mike Microsoft Dot NET Framework Forms 1 27th Jul 2004 07:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:17 PM.