PC Review


Reply
Thread Tools Rate Thread

How to copy ActiveX Controls which are locked on a sheet

 
 
ryguy7272
Guest
Posts: n/a
 
      6th May 2010
I have a couple buttons and a CheckBox on a row; all are ActiveX Controls.
I’m trying to insert a row (lots of other things going on below) and then
copy/paste the row above into the current (ActiveCell) row. I want to bring
in the RadioButtons and the CheckBoxes down one row. It seems to work when I
am in design mode, but when I get out of design mode, the controls are
locked. Actually, this is what I want (I don’t want users moving controls
around on the sheet). I don’t know if I can programmatically get into Design
Mode, that’s the problem. Or, I’d be happy to use Form Controls, but they
would have to be locked down on the sheet.

How can this be done in code?
Thanks!


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.
 
Reply With Quote
 
 
 
 
ryguy7272
Guest
Posts: n/a
 
      7th May 2010
For anyone who is interested, I found a solution here:
http://www.ozgrid.com/forum/showthread.php?t=51508


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"ryguy7272" wrote:

> I have a couple buttons and a CheckBox on a row; all are ActiveX Controls.
> I’m trying to insert a row (lots of other things going on below) and then
> copy/paste the row above into the current (ActiveCell) row. I want to bring
> in the RadioButtons and the CheckBoxes down one row. It seems to work when I
> am in design mode, but when I get out of design mode, the controls are
> locked. Actually, this is what I want (I don’t want users moving controls
> around on the sheet). I don’t know if I can programmatically get into Design
> Mode, that’s the problem. Or, I’d be happy to use Form Controls, but they
> would have to be locked down on the sheet.
>
> How can this be done in code?
> Thanks!
>
>
> --
> Ryan---
> If this information was helpful, please indicate this by clicking ''Yes''.

 
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
Excel 2007 copy sheet with controls not working Bruno Q. Microsoft Excel Programming 2 10th Sep 2008 11:56 PM
How do I use ActiveX controls to hide/show rows on a sheet? =?Utf-8?B?YWN0aXZlWGhlbHBQbGVhc2U=?= Microsoft Excel Programming 2 27th Oct 2005 09:35 PM
multiple copy / paste on locked sheet MD Microsoft Excel Programming 0 10th Sep 2004 05:54 PM
multiple copy / paste on locked sheet MD Microsoft Excel Programming 2 10th Sep 2004 05:23 PM
Message box breaks owner draw controls in .NET controls used as ActiveX controls (again) Clive Dixon Microsoft Dot NET Framework Forms 0 26th May 2004 10:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:06 AM.