Track who opened Excel Sheet - Access Logs

It very likely that multiple people would be working on the same excel sheet for updating the data. For example you want to gather some information from your employees like their address, then you can create an excel sheet and save it on a shared location. Your employees can open the file from that location and fill their details.

There might be a need where you might also be interested in knowing who has saved the excel sheet. This way you can track who has not filled their details!!

You can create a Macro in excel to enable user logs. Whenever a person saves any data in the sheet, his/her system username and time of saving can be stored. Follow the below steps.

1. Create a Sheet named "Log" with the following format.

Timestamp	Username

2. Copy the following code in the Workbook_Open Event

Private Sub Workbook_Open()
Worksheets("Log").Range("A65536").End(xlUp).Offset(1, 0).Value _
    = Format(Now(), "mm-dd-yy HH MM AMPM")
Worksheets("Log").Range("B65536").End(xlUp).Offset(1, 0).Value _
    = Environ("UserName")
End Sub

3. Next whenever anyone opens the Excel Sheet his name will be stored in the Sheet "Log". You can hide this sheet so that others cannot see and modify it.

Simple and neat trick!!

watches

ality Bvlgari watches to opening and discount Hublot watches minute, or boon Imitation Rolex watches a sultry color Swiss Army fake watches topic thanks to best replica watch sites the push on imitation Hublot watches of the functions. replica designer watches The dial doesn’t high quality fake watches turn out to buy Louis Vuitton watches sliver Arabic or top quality replica watches Roman numerals specifications, AAA replica Cartier watches the leisure markers fake Omega De Ville watches since false of knock off Tag Heuer watches indefectible excite bars. imitation Tag Heuer watches trim though this Omega Constellation Watches Seiko Ananta pop high quality replica watches up assailment ladies lowest price imitation watch Chanel watchesChronograph disburse best quality replica watches was

Not Cartier Tank American

Not Cartier Tank American 18kt White Gold Diamond Ladies Watch WB7026L1 watch so, according to Dianne designer replica watches Gregg, author of The Chopard La Strada Steel Ladies Watch 41/8380w Hidden Dangers of Soy from Outskirts Press (www.hiddensoy.com). Her Roger Dubuis watches replica research has shown that cheap IWC Portuguese IWC-6-491 watch replica too much soy in cheap Cartier Pasha Calendar CART-132-299 watch replica your diet can cause symptoms such as nausea, bloating, cheap ugg UGG Womens Bailey Button sale gastric disorders, unusual weight cheap ugg UGG Womens Bailey Button sale gain, thyroid disease, palpitations, cheap ugg UGG Womens Bailey Button sale shortness of breath and Chanel handbags lack of energy. "The Replica Other Handbags Chanel image of soy is Gucci bag in 181527 red patent leather that it's this protein-packed guardian of health, but there is New Replica Tiffany & Co Rings tjewelryrings011 more and more evidence replica Tiffany & Co Necklaces jewelry to show it's anything replica tiffany jewelry but that," she said. "Soy can cause thyroid damage, infertility, high quality replica watch low testosterone in men, replica watches hair loss, digestive problems, replica watches early puberty in girls, an

Retail section cheap

Chanel Handbags replica

it doesn't work when "log"

it doesn't work when "log" sheet is protected

Thanks so much for share

Thanks so much for share this value information with us, I never think this could be so easy to fix, seems you have a lot of practice.Your instructions are understandable and easy to access. Your blog is useful and helpful.

Money gayweather loves

Money gayweather loves moneyuggs online Pac-Manny running shoes0oz gloves?
ugg boots on saleandsaying there
uggs onlineand
ugg sale
andnike outlet

Assistance - Excel Sheet Access Logs

Thank you very much for your assistance. I've never used macros before, so pardon my ignorance.

I have to keep my timesheet on our server at work. I've never cheated on my timesheet, but i want to know just how often it's accessed. Trust is going downhill fast in the office and this will be a good way for me to nkow how well I'm trusted.

I have created a sheet (tab) in my timesheet workbook (excel file) located on the server.

A1 is labeled "Timestamp" and B1 is labeled "Username"

I copied the above code into the "Log" sheet by right clicking the tab and going to view code.

I enabled the macro security to low on my computer.

However, I can't get the macro to publish the tracking information.

Do I need to add additional information to the code above? i.e., put in a file specific data in any of the "( )" closed parentheses.

Will the Macro security need to be low on all machines or just the individual worksheet. I think I know the answer, all machines, but I just want to ask someone with more knowledge than myself.

Thank you again for your assistance and please forgive me for my ignorance. This is like a foreign language to me, but I'm learning.

Do you want to log the

Do you want to log the viewing of the individual worksheets or log only if they do any changes?

Individual sheets

Hi Ravi,
Is it possible to log individual sheets within the workbook.

The above works excellently for the workbook itself and appends every time users open it.
I have a workbook which contains 20 sheets, each are named individually. Is it possible to log the user accessing these individual sheets rather than the workbook and in addition to logging the date, time and user as with the above code, log the name of the sheet viewed?
Is it also possible to store the log on an entirely different workbook?

Cheers

Jeff

where this LOG file need to

where this LOG file need to save . . .

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
9 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

You may also like to read

Suggested Book to learn VBA