VBA Form - Select Column Only

Joined
Jan 28, 2014
Messages
1
Hi There,

I'm designing a simple form, and using some RefEdit controls to select columns. However, what I want to do is restrict this to just select one single column. As it currently stands, I can have anything selected - columns, rows or ranges. I haven't played with any of the default settings on the control, except for the name, height & width.

I know that I could test the outcome and loop back again if required to make the user try again if it doesn't conform, but that doesn't seem to be the most streamline thing to do.

Any knowledge on how/if this is possible would appreciated. If not, any clever alternative solutions would be appreciated too.

Edit - I have spotted this post from many moons ago, however it doesn't really solve my problem, which is to have a truly elegant solution to column selection.
 
Last edited:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,214,648
Messages
6,120,726
Members
448,987
Latest member
marion_davis

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