LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Last user to make a change

I have the following code at the workbook level of a spreadsheet

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
Boolean)
Range("LastChange").Value = Format(Now(), "dd mmm yyyy")
Range("LastUser").Value = Environ("username")
End Sub

I have the named ranges. Why doesn't this work?

LWHite


 
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
Can I make a picture change based on input from a user? Christop Excel Discussion (Misc queries) 5 September 25th 09 12:52 AM
User Defined Functions - Help Text - Make it Easy for the User Andibevan[_2_] Excel Programming 4 March 17th 05 09:51 AM
Make Sure User Selects 3 Cells Steve[_60_] Excel Programming 3 June 8th 04 06:40 AM
Make a user form 'un-closeable' peekbo[_3_] Excel Programming 4 May 21st 04 04:50 AM
How to: Make user click End User License Agreement acceptance jasonsweeney[_21_] Excel Programming 7 January 30th 04 01:41 AM


All times are GMT +1. The time now is 07:17 AM.

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

About Us

"It's about Microsoft Excel"