Please help, Excel vba macro for Employee Schedule.

achelletzhe

New Member
Joined
May 11, 2014
Messages
1
Hi I am a begginer with excel vba macro, can you help me create a marco that will open a spreadsheet file (employee doorlogs with dates) this file has columns: Name, Doors and Timestamp.

The condition is the user will be prompt to enter the schedule "Month" and the "Time" another condition is to accept the entry log if he is on an "overtime date". It will hide unnecessary logs, not delete. The out must contain "Only" his first doorlog for the start of his shift and the last log out on his shift. Schedule is shifting. can be 8hrs sometimes 12 hrs.

Please help me with this its been weeks and I still cant solve this. :( I only manage to delete unnecessary rows base on my specified string value but can't define the schedule. please help me for the code. It is killing me :(.
Employee Name</SPAN>
Doors</SPAN>
Timestamp</SPAN>
Erwinson M. Francisco</SPAN>
[MNorth] Turnstile 1 Exit</SPAN>
2/27/2014 7:12:08 AM</SPAN>
Erwinson M. Francisco</SPAN>
[MNorth] Turnstile 2 Entry</SPAN>
2/27/2014 4:53:00 AM</SPAN>
Erwinson M. Francisco</SPAN>
[MNorth] Turnstile 2 Exit</SPAN>
2/27/2014 4:45:42 AM</SPAN>
Erwinson M. Francisco</SPAN>
[MNorth] Turnstile 2 Entry</SPAN>
2/27/2014 3:45:05 AM</SPAN>
Erwinson M. Francisco</SPAN>
[MNorth] Turnstile 1 Exit</SPAN>
2/27/2014 3:05:42 AM</SPAN>
Erwinson M. Francisco</SPAN>
[MNorth] Turnstile 1 Entry</SPAN>
2/26/2014 10:03:26 PM</SPAN>
Erwinson M. Francisco</SPAN>
[MNorth] Turnstile 2 Exit</SPAN>
2/26/2014 9:10:13 PM</SPAN>

<TBODY>
</TBODY>
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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