Active X Check Box - Return User Info

Cat129

Board Regular
Joined
Oct 20, 2012
Messages
96
Hey

I don't know if this is possible or not, but hoping it is

We have an excel form we use at work, and it has legacy tick boxes in it.

We would like to know the user of who ticked that box as they are approval boxes.

If we replace these with active x controls, is it possible to incorporate the (Environ$("Username")) into the active x control so that it would return the user who checked the box last into a cell?

Thanks,
Cat
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Do you want to enter the userid (window id) at the end of the row, or into a sepciti column


Try this code. U change the Range("a4:a and activecell.offest(row,column)
NextFree = Range("A4:A" & Rows.Count).Cells.SpecialCells(xlCellTypeBlanks).Row
ActiveCell.Offset(0, 0).Value = Environ("Username")
 
Last edited:
Upvote 0
Hi

Thanks for helping, I would like it to put the user id into C26 when the tick box is ticked.

Thanks,
Cat
 
Upvote 0
Try this.

ActiveSheet.Range("C26").Select
ActiveCell.Value = Environ("Username")
 
Upvote 0

Forum statistics

Threads
1,223,098
Messages
6,170,099
Members
452,301
Latest member
QualityAssurance

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