Vacation planner / tracker

Shrinivasa

New Member
Joined
Jul 10, 2021
Messages
4
Office Version
  1. 2010
Platform
  1. Windows
I need your support on the VBA codes.

There is a vacation template/tracker and need to be updated vacations which are planned (As PL, CL and other types of leaves)

In the vacation tracker, there are 50+ resources and each resource have some plan leaves and leaves should not cross the 24 leaves per year. So, I need the VBA codes to update the leaves in the tracker with these conditions.

For example:- The resource planned for 10 days leaves from 01.01.2021 to 14.01.2021 (10 working days) and that need to be updated in the tracker and also update the emergency leaves ( If resource had taken the emergency leaves, those leaves also need to be Shuffled with future planned leaves) and Total leaves should not exceed 24 leaves.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
30-Dec-1931-Dec-1901-Jan-2002-Jan-2003-Jan-2004-Jan-2005-Jan-2006-Jan-2007-Jan-2008-Jan-2009-Jan-2010-Jan-2011-Jan-2012-Jan-2013-Jan-2014-Jan-2015-Jan-2016-Jan-2017-Jan-2018-Jan-2019-Jan-2020-Jan-2021-Jan-2022-Jan-2023-Jan-2024-Jan-2025-Jan-2026-Jan-2027-Jan-2028-Jan-2029-Jan-2030-Jan-2031-Jan-20Total VacationsUn-planned leaveTotal
Emp. Sr. No.Employee NameMTWTFSSMTWTFSSMTWTFSSMTWTFSSMTWTF
1234567 CHATURVEDI999999U99999H99X999999999
1​
1​
2​
1234567ARIJIT MITRA889X8XXX888X8888888888888
5​
0​
5​
1234567ASHISH KOLLIVALASA9U99999999XXHXX9999999999
4​
1​
5​
1234567ASHISH PACHAURI999999999999H999999999999
0​
0​
0​
1234567CHATURVEDI
0​
0​
0​
1234567CARLOS888888888888888888888888
0​
0​
0​
1234567DEBASIS SEN999999999999999999H9999U9
0​
1​
1​
1234567SRIVASTAVA999999999999H99
0​
0​
0​
1234567DAGUETXX9XX888X8888888888888U88
5​
1​
6​
1234567GOUSEPEERA DUDEKULA999999999999H999999999999
0​
0​
0​
1234567GURURAJ BHATXX9999999999H999999999999
2​
0​
2​
1234567JAGADEESH GOWDA999999999999H9X9
1​
0​
1​
1234567JAGANNATH88988888888888888888
0​
0​
0​
1234567RENGGLI22222
0​
0​
0​
 
Upvote 0
Please help me, How to find two range values in another sheet and copy those Range data by using VBA ?
 
Upvote 0
In order to help, I'd need to know exactly what you want to copy, where you want to copy it to, and see the other sheet.
 
Upvote 0
Sorry for the delayed

There is a vacation plan file and need to be updated vacations which are planned (As PL, CL and other types of leaves)

In the vacation plan file, there are 50+ resources and each resource have some plan leaves and leaves should not cross the 24 leaves per year. So, I need the VBA codes to update the leaves in the vacation plan from the Automation for Vacation_V1 file ( in the Sheet - Calendar) with the above conditions.

For example:- The resource planned for 10 days leaves from 15.01.2020 to 22.01.2021 (6 working days) and that need to be updated in the vacation plan file from the Automation for Vacation_V1 file ( in the Sheet - Calendar) and also update the emergency leaves ( If resource had taken the emergency leaves, those leaves also need to be Shuffled with future planned leaves) and Total leaves should not exceed 24 leaves.

Here attached sample files
 

Attachments

  • Vacation Plan.png
    Vacation Plan.png
    110.6 KB · Views: 7
  • Automation for Vacation_V1.png
    Automation for Vacation_V1.png
    116.8 KB · Views: 7
Upvote 0

Forum statistics

Threads
1,216,124
Messages
6,128,991
Members
449,480
Latest member
yesitisasport

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