Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 492
Default Record of file access

Hi,
I'm using a Windows Networked company system where users each have their own
private bit of the hard drive and also a Public Drive which anyone can
access.
On this Public Drive are several read only Excel Files that multiple users
access on a regular basis.
My query is, would it be possible to obtain a log of who has accessed these
files and when? Obviously the files would not be saved on closure as they
are read only.
If this isn't possible, could it be done if the files were saved, ie not
read only, or even with a Workbook close event to force a save? (I know that
wouldn't work if the files were opened with Macro's Disabled, but that
wouldn't really be a problem)
Any advice gratefully received,
Regards,
Alan.

Office XP
Wndows NT (I think!)


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Record of file access

Hi Alan
I would not do this within Excel (the easiest way to circumnvent the
logging is to disable macros). Do this on operating system/network
level.

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Hi,
I'm using a Windows Networked company system where users each have
their own private bit of the hard drive and also a Public Drive which
anyone can access.
On this Public Drive are several read only Excel Files that multiple
users access on a regular basis.
My query is, would it be possible to obtain a log of who has accessed
these files and when? Obviously the files would not be saved on
closure as they are read only.
If this isn't possible, could it be done if the files were saved, ie
not read only, or even with a Workbook close event to force a save?
(I know that wouldn't work if the files were opened with Macro's
Disabled, but that wouldn't really be a problem)
Any advice gratefully received,
Regards,
Alan.

Office XP
Wndows NT (I think!)


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Record of file access

On Fri, 3 Sep 2004 20:52:58 +0100, "Alan"
wrote:

Hi,
I'm using a Windows Networked company system where users each have their own
private bit of the hard drive and also a Public Drive which anyone can
access.
On this Public Drive are several read only Excel Files that multiple users
access on a regular basis.
My query is, would it be possible to obtain a log of who has accessed these
files and when? Obviously the files would not be saved on closure as they
are read only.
If this isn't possible, could it be done if the files were saved, ie not
read only, or even with a Workbook close event to force a save? (I know that
wouldn't work if the files were opened with Macro's Disabled, but that
wouldn't really be a problem)
Any advice gratefully received,
Regards,
Alan.

Office XP
Wndows NT (I think!)


Maybe something like this:

Private Sub Workbook_Open()
Open "logfile.txt" For Append As #1
Print #1, ActiveWorkbook.Name & "," & Application.UserName & _
"," & Date & "@" & Time()
Close #1
End Sub

Lars-Åke
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 492
Default Record of file access

Hi Frank,
I do know that as I said originally, but I don't have access to the
operating system on the Company Network and the IT people I deal with are
less than helpful. Is it possible within Excel?
Regards,
Alan.
"Frank Kabel" wrote in message
...
Hi Alan
I would not do this within Excel (the easiest way to circumnvent the
logging is to disable macros). Do this on operating system/network
level.

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Hi,
I'm using a Windows Networked company system where users each have
their own private bit of the hard drive and also a Public Drive which
anyone can access.
On this Public Drive are several read only Excel Files that multiple
users access on a regular basis.
My query is, would it be possible to obtain a log of who has accessed
these files and when? Obviously the files would not be saved on
closure as they are read only.
If this isn't possible, could it be done if the files were saved, ie
not read only, or even with a Workbook close event to force a save?
(I know that wouldn't work if the files were opened with Macro's
Disabled, but that wouldn't really be a problem)
Any advice gratefully received,
Regards,
Alan.

Office XP
Wndows NT (I think!)




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Record of file access

Hi
as said you can do something in your workbook open event BUT if the
user disables macros it would be useless

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Hi Frank,
I do know that as I said originally, but I don't have access to the
operating system on the Company Network and the IT people I deal with
are less than helpful. Is it possible within Excel?
Regards,
Alan.
"Frank Kabel" wrote in message
...
Hi Alan
I would not do this within Excel (the easiest way to circumnvent the
logging is to disable macros). Do this on operating system/network
level.

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Hi,
I'm using a Windows Networked company system where users each have
their own private bit of the hard drive and also a Public Drive
which anyone can access.
On this Public Drive are several read only Excel Files that

multiple
users access on a regular basis.
My query is, would it be possible to obtain a log of who has
accessed these files and when? Obviously the files would not be
saved on closure as they are read only.
If this isn't possible, could it be done if the files were saved,

ie
not read only, or even with a Workbook close event to force a save?
(I know that wouldn't work if the files were opened with Macro's
Disabled, but that wouldn't really be a problem)
Any advice gratefully received,
Regards,
Alan.

Office XP
Wndows NT (I think!)




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 492
Default Record of file access

Thanks Lars!
Thats exactly what I wanted,
Warm Regards,
Alan.
"Lars-Åke Aspelin" wrote in message
...
On Fri, 3 Sep 2004 20:52:58 +0100, "Alan"
wrote:

Hi,
I'm using a Windows Networked company system where users each have their

own
private bit of the hard drive and also a Public Drive which anyone can
access.
On this Public Drive are several read only Excel Files that multiple

users
access on a regular basis.
My query is, would it be possible to obtain a log of who has accessed

these
files and when? Obviously the files would not be saved on closure as they
are read only.
If this isn't possible, could it be done if the files were saved, ie not
read only, or even with a Workbook close event to force a save? (I know

that
wouldn't work if the files were opened with Macro's Disabled, but that
wouldn't really be a problem)
Any advice gratefully received,
Regards,
Alan.

Office XP
Wndows NT (I think!)


Maybe something like this:

Private Sub Workbook_Open()
Open "logfile.txt" For Append As #1
Print #1, ActiveWorkbook.Name & "," & Application.UserName & _
"," & Date & "@" & Time()
Close #1
End Sub

Lars-Åke



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 492
Default Record of file access

Hi again Frank,
I KNOW THAT! I can get round that! I'm not dealing with experts, if I were
it would be a different matter. I can easily make the workbook useless
without Macros Enabled.
I could easily overcome that as could you, but the people I'm dealing with
would not even try, its not a matter of National Security,
Regards and Thanks,
Alan.
"Frank Kabel" wrote in message
...
Hi
as said you can do something in your workbook open event BUT if the
user disables macros it would be useless

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Hi Frank,
I do know that as I said originally, but I don't have access to the
operating system on the Company Network and the IT people I deal with
are less than helpful. Is it possible within Excel?
Regards,
Alan.
"Frank Kabel" wrote in message
...
Hi Alan
I would not do this within Excel (the easiest way to circumnvent the
logging is to disable macros). Do this on operating system/network
level.

--
Regards
Frank Kabel
Frankfurt, Germany


Alan wrote:
Hi,
I'm using a Windows Networked company system where users each have
their own private bit of the hard drive and also a Public Drive
which anyone can access.
On this Public Drive are several read only Excel Files that

multiple
users access on a regular basis.
My query is, would it be possible to obtain a log of who has
accessed these files and when? Obviously the files would not be
saved on closure as they are read only.
If this isn't possible, could it be done if the files were saved,

ie
not read only, or even with a Workbook close event to force a save?
(I know that wouldn't work if the files were opened with Macro's
Disabled, but that wouldn't really be a problem)
Any advice gratefully received,
Regards,
Alan.

Office XP
Wndows NT (I think!)




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
Email distribution of Access Record Snyderm Excel Discussion (Misc queries) 1 March 28th 09 12:28 AM
how I can sum or subtract 2 or 3 field in access in any record hadi Excel Discussion (Misc queries) 1 November 4th 06 10:37 PM
how I can sum or subtract 2 or 3 field in access in any record hadi New Users to Excel 1 November 4th 06 10:27 PM
How can I update an MS Access table record from within Execl works David Canfield Excel Discussion (Misc queries) 0 January 14th 05 08:51 PM
Modifying an Access record in Excel John Moll Excel Programming 1 August 1st 03 05:27 PM


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