MultiPage control on a worksheet

aj311rules

New Member
Joined
Oct 11, 2006
Messages
4
I am using the 'Microsoft Forms 2.0 Multipage' control on a worksheet (not a userform). When I save any file and then re-open the file, I receive the error:

"This application is about to initialize ActiveX controls that might be unsafe. If you trust the source of this document, select Yes and the control will be initialized using your document setting."

I click Yes, and the control works as expected.

If I add the multipage control to a userform, save the file, and re-open the file, I do not receive the error.

The multipage control is being used on the worksheet as tabs for a report. When you click one of the tabs, it changes a value on another worksheet that will cause the charts/listboxes on the report to display different data.

I like using the multipage control over the tabstrip control, because I have had issues with when you place your cursor on a tabstrip, the tabs/buttons slightly move/expand (using the 'fmTabStyleButtons' style). This especially happens when you shrink the tabset control to show just the rows of the buttons. The MultiPage buttons do not shrink/move when you place your cursor over the button.

REQUESTED RESULT:
I would like this file to be able to be opened by other users and all they would need to do is click the 'Enable Macros' button.

Any help would be great!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
This would involve editing the registry and lowering security settings which I am quite certain that you do not want to do. Another option would be to host the control on a userform and then embed the userform in the worksheet. Let me know if this will work with your layout and I'll dig up the code or you can search my username for embedding userforms. Have a nice day.
 
Upvote 0

Forum statistics

Threads
1,215,055
Messages
6,122,902
Members
449,097
Latest member
dbomb1414

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