Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Track Changes without sharing a workbook?
Is there any macro that could track changes in an Excel workbook without the
workbook being shared? I came across the following macro: Dim nFile nFile = FreeFile Open "C:\MyLog.txt" For Append As #nFile Print #nFile, "Workbook " & ThisWorkbook.Path & _ " opened by " & Environ("UserName") & _ " on " & Format(Now, "yyyy/mm/dd hh:mm:ss") Close #nFile which saves a list of when the file is accessed. But I've no idea how to amend this to list any changes to the the workbook. In actual fact, it's only one specific sheet that I need to track, however the nature of the file won't allow me to share it. Any help would be much appreciated. Andrew. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Track Changes without sharing a workbook?
Bob, Thanks for the modified code. I have incorporated it into my code and
the formatting is doing fine particularly if a pass-thru target cell is all positives (=100+200.12+300.13) - Displaying in the Userform1 as: 100.00 200.12 300.13 But if any of the Pass-thru target cells have a Negative value - there is a problem.. say like (=11.69+66.47+891.55-50) - It is displaying in the Userform1 as: 11.69 66.47 +891.55-50 any idea how this can be remedied? I plan on working on over the weekend, but if you have any thought, let me know. Tks, Jim "Andrew" wrote: Is there any macro that could track changes in an Excel workbook without the workbook being shared? I came across the following macro: Dim nFile nFile = FreeFile Open "C:\MyLog.txt" For Append As #nFile Print #nFile, "Workbook " & ThisWorkbook.Path & _ " opened by " & Environ("UserName") & _ " on " & Format(Now, "yyyy/mm/dd hh:mm:ss") Close #nFile which saves a list of when the file is accessed. But I've no idea how to amend this to list any changes to the the workbook. In actual fact, it's only one specific sheet that I need to track, however the nature of the file won't allow me to share it. Any help would be much appreciated. Andrew. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Track Changes without sharing a workbook?
Andrew,,, Sorry Posted to WRONG thread...
Disregard. Jim May "Andrew" wrote: Is there any macro that could track changes in an Excel workbook without the workbook being shared? I came across the following macro: Dim nFile nFile = FreeFile Open "C:\MyLog.txt" For Append As #nFile Print #nFile, "Workbook " & ThisWorkbook.Path & _ " opened by " & Environ("UserName") & _ " on " & Format(Now, "yyyy/mm/dd hh:mm:ss") Close #nFile which saves a list of when the file is accessed. But I've no idea how to amend this to list any changes to the the workbook. In actual fact, it's only one specific sheet that I need to track, however the nature of the file won't allow me to share it. Any help would be much appreciated. Andrew. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Track Changes without sharing | Excel Discussion (Misc queries) | |||
Excel should be able to track changes without sharing workbook | Excel Discussion (Misc queries) | |||
Workbook sharing | Excel Discussion (Misc queries) | |||
Sharing a workbook off 1 PC?? | Excel Discussion (Misc queries) | |||
Sharing Workbook and VBA | New Users to Excel |