Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 176
Default Worksheet Properties - Last User

Hi

The PC I use is part of an network that requires individuals to log on with
their own personal log-on. ie: QWCAL when starting the computer.

What is would like is some VB that would return the log-in of the last
person to save the file.

Any help is much appreciated

John
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default Worksheet Properties - Last User

John

Private Sub Workbook_BeforeSave(ByVal SaveAsUI _
As Boolean, Cancel As Boolean)
With ThisWorkbook
With Worksheets("Sheet1")
.Range("A1").Value = "Last Saved By " _
& Environ("UserName") & " " & Now
End With
End With
End Sub


Gord Dibben MS Excel MVP

On Thu, 10 May 2007 16:26:01 -0700, John Calder
wrote:

Hi

The PC I use is part of an network that requires individuals to log on with
their own personal log-on. ie: QWCAL when starting the computer.

What is would like is some VB that would return the log-in of the last
person to save the file.

Any help is much appreciated

John


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
Setting format properties when opening Worksheet Don Excel Worksheet Functions 1 December 12th 06 10:27 AM
Microsoft Excel Worksheet Properties AdrianAP Excel Worksheet Functions 0 December 1st 06 12:05 AM
How to control chart properties from worksheet Marko Pinteric Excel Discussion (Misc queries) 3 April 5th 06 12:38 PM
How to control chart properties from worksheet Marko Pinteric Charts and Charting in Excel 1 April 5th 06 12:38 PM
Use of file properties in fields in worksheet John Excel Discussion (Misc queries) 1 November 2nd 05 08:54 PM


All times are GMT +1. The time now is 09:40 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"