Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.sdk
external usenet poster
 
Posts: 1
Default My ActiveX control does not respond when i draw it on a excell sheet, using ActiveSheet.OLEObject.Add

Hello,

I have made a ActiveX control which consists of some textboxes and a button.
Now I am trying to use this control in Excel, with the help of macros.

I have used ActiveSheet.OLEObject.Add to add this control to Excel sheet,
though Control appears on the sheet but it is not responding.
There is no effect of clicking on the button.
if I click on Design mode button on Control toolbox toolbar and Exit the
design mode by clicking on the same button, The Control starts responding to
the button clicks.

I want my control to be added dynamically and should respond as it is drawn
on the sheet.


1. Am I Missing some thing that i need to do with OLEObject.Add, so that i
can use my control without clicking on the Design mode button.
2. Somebody can please tell how can i switch to and from design mode
programatically.

Can somebody please help...

Thanks.


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
.NET Custom Control not redrawing when inserted as OleObject in Excel [email protected] Excel Programming 0 July 21st 06 09:15 AM
Activate an activex control on a sheet in excel 97? VLONC7109 Excel Programming 1 March 17th 05 06:35 PM
ActiveX ComboBox Control on Sheet quartz[_2_] Excel Programming 2 January 13th 05 06:31 PM
Remove all items from an ActiveX control on a sheet quartz[_2_] Excel Programming 4 January 13th 05 06:31 PM
Tooltip for mouseover of Image OLEObject (from Control Toolbar) Matt Jensen Excel Programming 2 January 8th 05 01:55 PM


All times are GMT +1. The time now is 11:16 PM.

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"