Toggle buttons

Amit112

Board Regular
Joined
Nov 12, 2004
Messages
52
Hi I put in a status bar with toggle buttons as such

Open
Closed
Active

I would like to be able to click on the "OPEN" in the form, this is a toggle button and have it filled out as "OPEN" in another field that say is labelled col1

so...

click on OPEN and col1 reads ----- OPEN
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Amit112 said:
Hi I put in a status bar with toggle buttons as such

Open
Closed
Active

I would like to be able to click on the "OPEN" in the form, this is a toggle button and have it filled out as "OPEN" in another field that say is labelled col1

so...

click on OPEN and col1 reads ----- OPEN
use a select case in the after even procedure
Select Case toggle
Case Is = 1
col1 = "OPEN"
Case Is = 2
col1 = "Closed"
Case Is = 3
col1 = "Active"

End Select

good luck
 
Upvote 0

Forum statistics

Threads
1,221,845
Messages
6,162,350
Members
451,760
Latest member
samue Thon Ajaladin

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