Please can anyone give me a code that will subtract NOW() values in column F with the NOW() values in column E and populate the answer in column I of the worksheet. I'm doing this to determine the # of working hours of each staff.

The reason I want a code and not regular formula from excel sheet is that the entries for this worksheet (Admin) will be coming from another worksheet (User). And I want this code to calculate only upon opening of the Admin worksheet.

Please support. Thanks in advance!