Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Register user on worbook open



Hi!
I have a WorkBook that many users work with.

If there is any critical changes, or data is deletet, the WB register
and logging the username and date on one of the sheets.

The WB logg macro get the username with the: "Application.UserName".

My problem is that the users dont register their peronal names in excel,
so the logg only contains the standard username for that company.

What I am trying to make, is an dialogbox that appear if the WB is open
by the standard name ("BPPassPort User"), where the user can register
his name in a textbox.

Is there any possibility to paste the name the user write in the
textbox, in to the excel user register?

There can of course be smarter ways of doing this, but this was the one
I am able to figure out.

I am grateful for all help!

Axel


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Register user on worbook open

Hi,

Try

ThisUser=Environ("Username")


Mike


"Axel" wrote:



Hi!
I have a WorkBook that many users work with.

If there is any critical changes, or data is deletet, the WB register
and logging the username and date on one of the sheets.

The WB logg macro get the username with the: "Application.UserName".

My problem is that the users dont register their peronal names in excel,
so the logg only contains the standard username for that company.

What I am trying to make, is an dialogbox that appear if the WB is open
by the standard name ("BPPassPort User"), where the user can register
his name in a textbox.

Is there any possibility to paste the name the user write in the
textbox, in to the excel user register?

There can of course be smarter ways of doing this, but this was the one
I am able to figure out.

I am grateful for all help!

Axel


*** Sent via Developersdex http://www.developersdex.com ***

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Register user on worbook open


Thanks!
I try that out


*** Sent via Developersdex http://www.developersdex.com ***
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
London Excel User Conference - Register now, it is not too late Damon Longworth Excel Discussion (Misc queries) 0 June 28th 06 12:12 PM
London Excel User Conference - Register now, it is not too late Damon Longworth Excel Worksheet Functions 0 June 28th 06 12:12 PM
London Excel User Conference - Register now, it is not too late Damon Longworth Excel Programming 0 June 28th 06 12:12 PM
Open Worbook and Disable Macros DMc2005 Excel Discussion (Misc queries) 4 October 1st 05 07:23 PM
Open Worbook and Disable Macros DMc2005 Excel Programming 4 October 1st 05 07:23 PM


All times are GMT +1. The time now is 02:18 AM.

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"