I Create a userform log in form. How do I get that loggers user name. not the application name or the environ(username).

cmxulb

Board Regular
Joined
Nov 24, 2020
Messages
52
Office Version
  1. 365
Platform
  1. Windows
I Create a userform log in form. How do I get that loggers user name. not the application name or the environ(username). This form below user name .

1606235325237.png
1606235442975.png
I need to add that user name here


Please Help! Thank You!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi & welcome to MrExcel.
How about
VBA Code:
.Cells(iRow,10).Value=Me.TextBox1.Value
Change the name of the textbox to suit
 
Upvote 0
Hi & welcome to MrExcel.
How about
VBA Code:
.Cells(iRow,10).Value=Me.TextBox1.Value
Change the name of the textbox to suit
Thanks and thanks for replying!
I get this error
1606236723517.png
 
Upvote 0
You've put the .Value in the wrong place.
 
Upvote 0
Is that code in the userform module?
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,939
Members
449,094
Latest member
teemeren

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