Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Excel > Time Keep in VBA


Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2004, 05:55 PM
High-Tag High-Tag is offline
Newcomer
 
Join Date: Dec 2003
Posts: 12
Default Time Keep in VBA


How do I calculate the amount of time a user spents on a sheet, and when he closes the sheet, the timer will store the total amount of time spent in another excel sheet? Thanx.
Reply With Quote
  #2  
Old 03-10-2004, 12:35 AM
Timbo's Avatar
Timbo Timbo is offline
Green-Eyed

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Bangkok, Thailand
Posts: 10,261
Default

Have a look at the 'SheetDeactivate' and 'SheetActivate' events of the 'Workbook' object in your Excel VB help.
__________________
"He's not the Messiah. He's a very naughty boy!" - Brian's mum

Can't find the answer? >> Try something new!
Become a Professional
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
time doesnt update aaamanagerwebby Game Programming 5 01-15-2004 07:03 PM
time format not right poochi80 Database and Reporting 1 01-15-2004 08:01 AM
evaluating time verses curent by 12:00 ? ICE_BLUE General 20 07-22-2003 11:16 AM
Getting time from local Win2k server on win98 machine Tricker Communications 5 10-21-2002 03:56 AM
Splash Screen Problem Project1 General 3 10-13-2002 07:20 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->