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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,214,830
Messages
6,121,831
Members
449,051
Latest member
excelquestion515

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