mahmed1
Well-known Member
- Joined
- Mar 28, 2009
- Messages
- 2,302
- Office Version
- 365
- 2016
- Platform
- Windows
Hi All
Please can you help me the best possible way to ensure I capture this
I have a workbook that I send out via email to people. In this workbook, in the workbook open code, I keep a log and update another excel file with the userid and timestamp regardless of whether the workbook I sent is for read only. The log file is closed straight away in code when its updated.
The problem im having is that if the log file is opened when im updating then it wont uodate the file as its saying its locked for editing.
The file can be opened at the same time so I don’t know how to get around this
What I want is to keep a log of each time this workbook is opened regardless of whether its opened at the same time to keep a track of how many people are viewing this spreadsheet.
What is the best way to keep a log regardless of whether its stored on a text file and then transferred to my excel log file
Please – im hoping someone has an amazing solution to get around this
I thought of creating a new txt file each time its opened somewhere and in the excel log file - have a button that copies the data from each text file and then deleting those text files but I'm not sure if this is the best way
please advise the best way to do it
Thank You
Please can you help me the best possible way to ensure I capture this
I have a workbook that I send out via email to people. In this workbook, in the workbook open code, I keep a log and update another excel file with the userid and timestamp regardless of whether the workbook I sent is for read only. The log file is closed straight away in code when its updated.
The problem im having is that if the log file is opened when im updating then it wont uodate the file as its saying its locked for editing.
The file can be opened at the same time so I don’t know how to get around this
What I want is to keep a log of each time this workbook is opened regardless of whether its opened at the same time to keep a track of how many people are viewing this spreadsheet.
What is the best way to keep a log regardless of whether its stored on a text file and then transferred to my excel log file
Please – im hoping someone has an amazing solution to get around this
I thought of creating a new txt file each time its opened somewhere and in the excel log file - have a button that copies the data from each text file and then deleting those text files but I'm not sure if this is the best way
please advise the best way to do it
Thank You