Simple Question

Jotoya

Active Member
Joined
May 25, 2003
Messages
366
Hi,

I know this is probably a silly question but I just can't seem to figure this one out:

How do I go about adding "Lines" in a user form. I find myself sometimes needing just one of the lines that a "Frame" uses but I can't seem to figure out how. Does the toolbox offer a line drawing button to separate controls instead of having to use a full frame? Thank you so much. (y)
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
You can use a Label control. Set the Back Color property to Black and set the height to 1
 
Upvote 0
Hi Jose,
I don't know the "real" way to do this, but what works for me is to add a Listbox where you want your line to be. If you want it to have an "engraved" or sunken type look, set the height properties to 2 or 3.
If you just want a thin black line, set the height properties to 1.

Kinda a stupid way to go about it I guess, but it works.
Dan

Edit:
According to btadams, I guess this is close to the "real" way to go afterall.
 
Upvote 0
Hey Smitty, What's the haps?
Actually the listbox is the method I use (instead of the label) because I like the cool "engraved" look for the lines in my forms. :cool:
I just didn't realize anybody else was using the same concept!
Good to know I'm not the only one that thinks like I do.
(Is there a more conventional way to put lines in a form???)

Also, (sorry...off the subject), but I liked your environmorons post! :LOL:
Dan
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,449
Members
448,966
Latest member
DannyC96

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