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..
 

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.
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
 
Upvote 0
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
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,518
Messages
6,119,985
Members
448,935
Latest member
ijat

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