Listview and Webbrowser control problems when placed on Multipage control

cdchapman

Board Regular
Joined
Dec 30, 2010
Messages
112
Just wondering whether anyone has come across this issue, and if so has any solutions?

I am currently building a dashboard which utilises a userform, on which there is a multipage control. On a number of pages of the multipage (but not all), there is a listview control or a webbrowser control.

The issue is that on running the userform, if a page on the multipage control that has a listview control is selected, the listview control changes position within the page (usually to the top left corner), thereby obscuring other controls. If the page contains a webbrowser control, this seems to display correctly the first time the page is selected, but if another page is then selected, and the webbrowser page is then selected for a second time, the webbrowser control disappears altogether.

I've tried putting the listview and webbrowser controls within a separate frame control, and also setting the .top and .left properties of the controls via code each time the page is selected, but none of these methods seem to prevent the issue. I read somewhere that setting the .Visible property of the control to false and then back to true, sometimes solves the issue, but again, this doesn't seem to work for me.

Any advice and/or workarounds will be appreciated, as this issue is getting annoying.

Chris
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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