Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Tracking workbook usage

I would like to track who opens a certain excel workbook. The macro below works great but only for those who have read/write permissions. It doesn't track users that have read-only permissions. Any ideas on what I need to do? Thank you

Private Sub Workbook_Open(

Open ThisWorkbook.Path & "\TrackUsage.log" For Append As #
Print #1, Application.UserName, Now, "Opened
Close #

End Su

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Tracking workbook usage

They don't have write permissions to the common share, so they can't update the
..log file???

Can you find a common share that's open somewhere?

Maybe you could use that instead.

Sophia wrote:

I would like to track who opens a certain excel workbook. The macro below works great but only for those who have read/write permissions. It doesn't track users that have read-only permissions. Any ideas on what I need to do? Thank you!

Private Sub Workbook_Open()

Open ThisWorkbook.Path & "\TrackUsage.log" For Append As #1
Print #1, Application.UserName, Now, "Opened"
Close #1

End Sub


--

Dave Peterson

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Tracking workbook usage

No I can't find another share. Those folks have a read-only permission for a reason.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Tracking workbook usage

If they can send emails, maybe you could do something that way.

Ron de Bruin has lots of sample code for working with email at:
http://www.rondebruin.nl

(But I don't know if this would be transparent all the time.)



Sophia wrote:

No I can't find another share. Those folks have a read-only permission for a reason.


--

Dave Peterson

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
Tracking linked file usage SwordAngel Excel Discussion (Misc queries) 1 March 2nd 09 11:39 AM
tracking file usage tst Excel Discussion (Misc queries) 5 October 13th 08 02:07 PM
tracking cell phone usage [email protected] Excel Discussion (Misc queries) 1 January 27th 07 01:15 AM
Any Tricks to decreasing Workbook size (disk space usage)? Bruce Excel Discussion (Misc queries) 3 August 16th 05 02:20 PM
Tracking Document Usage Diana[_6_] Excel Programming 1 January 12th 04 11:31 PM


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