VBA Scheduling Help

Realjoshtodd

New Member
Joined
Sep 26, 2017
Messages
34
https://www.dropbox.com/s/ro4aftz437...2018.xlsm?dl=0

I'm trying to build a code that does the following when button is clicked....

- Enter Date (Value) into Cell's B2, C2, D2, E2 on "Daily Alignment" Sheet.

- Import from "Deputy Availability" sheet all of the people who are scheduled to work on those matching days.

- To me this should be matching the value from those cells (B2, C2, D2, E2) in "Daily Alignment" to the values in row 2 on "Deputy Availability" Then having it return all of the values from that matching column, along with the matching name from column b in the same sheet.

Then want it to custom sort the list by say, (Days, E Swings, L Swings, Lates, D CTRL, N CTRL, and any other value listed at end (and whatever else I might have to add).
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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