AlexanderBB

Well-known Member
Joined
Jul 1, 2009
Messages
1,835
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I'm having trouble with zOrder. Is it for Form controls, or not? I see references to shapes but not sure what they are.

I've tried msoSendToBack (1), and msoBringToFront (0) each way on a Useform label and listview control and nothing does anything.
According to MSHelp there's also 'msoSendBackward' (3) but that just brings up an error here.

If zOrder doesn't work with a Label & Listview, is there some other way to show the label over the listview?
Thanks.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I assume you mean a listbox.

On a UserForm, most controls can be placed in front of or behind other controls.

However, no control can be placed in front of a listbox. And only a listbox can be placed in front of a frame (although other controls can be placed into the frame, which is itself a container).
 
Upvote 0
John, I did mean listview, which reminds me I must test the workbook in another comp and see if listview still works.
And if you know how, ever used a FlexGrid? Mine tells me something about "not trusted" and Googling that gives you a headache.
So maybe it's like a listbox and nothing can go in front if it? So I shall stop trying. And yes, it's all on a Frame. How did you know ? :)
 
Upvote 0
A quick search instructed me on ListView controls. I suspect its behavior is similar to a ListBox.

You're not going to have 32/64-bit incompatibility issues, are you?
 
Upvote 0
> You're not going to have 32/64-bit incompatibility issues, are you?

I wouldn't be surprised, but I haven't a 64 bit Excel to test with. So guess it's 32 bit or the highway...
 
Upvote 0

Forum statistics

Threads
1,216,590
Messages
6,131,614
Members
449,658
Latest member
JasonEncon

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