zombiemaster
Board Regular
- Joined
- Oct 27, 2009
- Messages
- 245
Hi, All... I've been away for quite some time, but finally have another question to ask.
I have an Excel workbook that we're developing for our call center to use to input call details, so the production area can go in and grab work when needed. This file is on a SharePoint site, and we want to have the ability to have the call center reps input their initials into column A and the date and time will appear in column B automatically. We tried using a circular-reference-formula in column B but it didn't really work very well and each user would need to turn on iterative calculations, which could be troublesome when you're talking hundreds of people. The testing results were less than promising and generated some errors on some of the testers machines. So, I did some research online and found this VBA code to do the same thing without having to worry about the formula:
It seems to work pretty well for what I need, but when I tried to protect the sheet so hidden rows couldn't be accidentally corrupted, the timestamp stopped working entirely. ALSO, when I saved the file (unprotected as a test) and had another tester go in, the timestamp didn't work for her AT ALL.
Does anyone know if there is a way to do what we're looking for, and be able to have the file be available to a lot of people at the same time within SharePoint?
I know it's a long shot, but if anyone knows, it will be this group!
Thanks in advance,
~ZM~
I have an Excel workbook that we're developing for our call center to use to input call details, so the production area can go in and grab work when needed. This file is on a SharePoint site, and we want to have the ability to have the call center reps input their initials into column A and the date and time will appear in column B automatically. We tried using a circular-reference-formula in column B but it didn't really work very well and each user would need to turn on iterative calculations, which could be troublesome when you're talking hundreds of people. The testing results were less than promising and generated some errors on some of the testers machines. So, I did some research online and found this VBA code to do the same thing without having to worry about the formula:
VBA Code:
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Handler
If Target.Column = 1 And Target.Value <> "" Then
Application.EnableEvents = False
Target.Offset(0, 1) = Format(Now(), "dd-mm-yyyy hh:mm:ss")
Application.EnableEvents = True
End If
Handler:
End Sub
It seems to work pretty well for what I need, but when I tried to protect the sheet so hidden rows couldn't be accidentally corrupted, the timestamp stopped working entirely. ALSO, when I saved the file (unprotected as a test) and had another tester go in, the timestamp didn't work for her AT ALL.
Does anyone know if there is a way to do what we're looking for, and be able to have the file be available to a lot of people at the same time within SharePoint?
I know it's a long shot, but if anyone knows, it will be this group!
Thanks in advance,
~ZM~