Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default username on a cell only once

Hello I created a form and on cell D7 I want the user name( the first
person completing the form . ) the problem is that after the form is
completed the person will submit the form to another person for further
action. however I want D7 to always have the name of the firt person who
submitted the form . IS that possible? thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default username on a cell only once

To have a variable value become static, you're going to need to use VBA.
You could make a command button that the original user clicks when they are
done with the form, which activates a macro like the following

Sub FormComplete()
Range("A2").Value = Eviron("username")
End sub

You could also make it so that the macro deletes the command button (simply
record yourself doing this to get correct code) to help preserve the author's
username.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Wanna Learn" wrote:

Hello I created a form and on cell D7 I want the user name( the first
person completing the form . ) the problem is that after the form is
completed the person will submit the form to another person for further
action. however I want D7 to always have the name of the firt person who
submitted the form . IS that possible? thanks in advance

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Cell Comments Username does not appear William Excel Discussion (Misc queries) 1 June 11th 08 11:33 AM
Show username in a cell bradasley Excel Discussion (Misc queries) 4 June 5th 06 03:34 PM
Including Environ Username in Cell swieduwi Excel Worksheet Functions 9 March 30th 06 04:43 PM
Saving username into a cell thudson Excel Worksheet Functions 1 February 24th 06 10:10 PM
How do I populate a cell with the NT Logon username? Mike Excel Discussion (Misc queries) 1 June 3rd 05 07:58 AM


All times are GMT +1. The time now is 10:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"