Alternative to ActiveX control in Sheet?

ClimoC

Well-known Member
Joined
Aug 21, 2009
Messages
584
Howdy

So the project I'm doing has me at a crossroads.

The PERFECT candidate for what I'm trying to achieve is a Frame control. It's isolated, scrollable... it's just that in a worksheet they're the devil.

Simply trying to add one at runtime throws up odd exceptions and bugs ("Cannot enter break mode at this time" - 'Continue') and "Cannot add object" at seemingly random times).

In lieu of the Frame - any ideas? I need a 'container' (as I will be dynamically adding many of these) that has a dynamic number of objects inside it (buttons/controls) - and can be scrolled through (otherwise there could be 10 columns used on one row, 5 on another...)
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Why not just use a big userform? As a rule of thumb, one should always avoid activex controls on worksheets
 
Last edited:
Upvote 0
This is where my head's going too Kyle.

Almost wish I'd done the other similar modules (which don't require this scrolling feature) the same, so as to at least be consistent. I was hoping to reuse a lot of the classes and collections and such.

C'est la vie.

At least a form would be easier than a spinner, and having to keep 'page numbers' and bookmarks with my recordsets...
 
Upvote 0

Forum statistics

Threads
1,224,821
Messages
6,181,163
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top