Invisible usable button on Userform

OldMan1950

New Member
Joined
May 12, 2012
Messages
3
Is it possible to have an invisible but clickable area on a UserForm - I want to have a "back door" to take me out of a menu driven view, so that I can edit a spreadsheet. I'm using Excel 2010.

Thanks,

OldMan1950
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
OldMan1950,

Try adding a Label.
Then in Properties...

Delete the Caption.

Set Back Style to BackStyleTransparent

BorderStyleNone will be the default but none the less still click and select BorderStyleNone from the drop down which should render the border invisible.

The you can double the Label (if you can find it ;) ) and code for the click event.

Hope that helps.
 
Upvote 0
OldMan1950,

Try adding a Label.
Then in Properties...

Delete the Caption.

Set Back Style to BackStyleTransparent

BorderStyleNone will be the default but none the less still click and select BorderStyleNone from the drop down which should render the border invisible.

The you can double the Label (if you can find it ;) ) and code for the click event.

Hope that helps.

Ah yes - Thank you Snakehips. Of course you can click on anything really I suppose - I was just trapped into thinking that only a Command Button was clickable in the way I wanted. Thanks again.
 
Upvote 0
You are welcome. Thanks for the feedback.

You can make a button transparent, but for some reason, you don't appear to have an option to get rid of the border on a button.
With the Label you can do both.
I've done similar with an invisible shape in a sheet. Which is fine if years later you can remember that you've done it and where it is!!
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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