Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a spreadsheet that is on a shared drive and several people update this
sheet daily, I had found this VB that was posted by someone back in August of this year and it works almost perfect except for one small item, HOW can I track who is updating the cells, when the person puts the sheet on the shared drive or emailed to one of the others and a cell is updated the name that appears in the comment is the one who put the sheet on the drive and not the person updating it. Is there a way to have the one who is updating the cell to have their name add to the others who had update the cell earlier. Private Sub Worksheet_Change(ByVal Target As Range) Target.Interior.ColorIndex = 0 On Error Resume Next Dim curComment As String curComment = "" curComment = Target.Comment.Text If curComment < "" Then curComment = curComment & Chr(10) Target.AddComment Target.Comment.Text Text:=curComment & _ ActiveWorkbook.BuiltinDocumentProperties("Author") & _ Chr(10) & " Rev. " & Format(Date, "yyyy-mm-dd ") & _ Format(Time, "hh:mm") ActiveCell.Comment.Visible = False 'comment perhaps should be resized End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I remove a comment, note, or ? | Excel Worksheet Functions | |||
Cannot empty clipboard" | Excel Discussion (Misc queries) | |||
How do I make make comment format default? | Excel Discussion (Misc queries) | |||
comments at end of sheet are not printing correctly | Excel Discussion (Misc queries) | |||
can we attach an image file to a excel cell ,like note pad comment | New Users to Excel |