VBA For Creating Queue/Productivity Tracker

OliveTree

New Member
Joined
Oct 24, 2013
Messages
3
I'm a little stuck on a project. I'm looking to create a sort of hybrid work queue and productivity tracker. I have a list of Employees and the number of evaluations and supervised hours required for each. I've written the start of the VBA for the first agent off the list to be pulled in as follows:
Sub Add()
Rows("2:2").Insert shift:=xlDown
Range("o2").Copy
Range("A2").PasteSpecial
ActiveCell.Offset(0, 1) = Now
Range("p2").Copy
Range("b2").PasteSpecial
ActiveCell.Offset(0, 1) = Now
Range("q2").Copy
Range("c2").PasteSpecial
ActiveCell.Offset(0, 1) = Now
Range("A:B").Sort Key1:=Range("B1"), order1:=xlAscending, Header:=xlYes
End Sub

I built a button that runs the macro.

Now, what I would like it to do is when I've completed the agent and click the Agent Completed button to insert the current time. (Productivity Element)

The next part is that I'm hoping once the first agent is completed, clicking Next Agent will pull the next Agent in the list. (Work Queue Element)
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,223,231
Messages
6,170,885
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top