Lines in userform??

tcy999

Board Regular
Joined
Oct 4, 2004
Messages
74
Hi, this is a very simple question hopefully with a simple answer. Is there a way of drawing a line between questions on a userform? I am using many tickboxes and it would ne helpful if I could seperate questions with lines just to make it easier for the user to follow. Can't seem to find what I'm looking for..
 

Some videos you may like

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

George J

Well-known Member
Joined
Feb 15, 2002
Messages
959
lines are not easy on a userform.

You can cut the question and tick boxes, put a frame where these were then paste into the frame

I have heard that some people set up their userform then create a bitmap with lines and insert this to show the splits between topics - never tried this though.

George
 

Greg Truby

MrExcel MVP
Joined
Jun 19, 2002
Messages
10,014
Well, (a) I've thought for a long time that there oughtta be a line tool!

But in the absence of one, I just take a label control, delete the caption and set the height (or width if I need a vertical line) to 1.0 or 1.25, whatever I need and set the background color to whatever I want. Seems a silly way to have to draw lines, but it's simple enough.

HTH
 

macleanb

Well-known Member
Joined
Dec 10, 2004
Messages
715
I'm surwe there must be an OCX you can link to to get some nice shapes/drawing controls - but I have to admit I have always just used buttons stretched out. I set Tabstop to false to stop tabbing onto them
 

Watch MrExcel Video

Forum statistics

Threads
1,123,045
Messages
5,599,488
Members
414,313
Latest member
Oonagh123

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
Top