Macro To Insert Start And End Date In Planning?
Feb 26, 2014
I am looking forward to creating a macro that would fill in my planning as per a project name (Cell B11)
Then when I enter the start and end date (range C14:D20). The planning (G5:AH9) would be filled in automatically as per the format in the cell in A14:A20.
refer the attach file. I entered manually an example in for the project "example1". I entered the project "example3" in B11 and starting and end dates. After running the macro button, The row 7:7 should look like the row 23:23.
View 4 Replies
ADVERTISEMENT
Apr 21, 2007
I am trying to code a macro call where in once the file is saved with the current week start date all the other macro's should be disabled. Since am having lot of data and report sheets which needs to be added and deleted in the run. It causes me problem when I try to open it again to view the results. For example I have a sheet named apple and another one applereport. I have made my code to delete apple since it is a data sheet. I want apple report to have all the other macros disabled once its been renamed to week start date for now it is 16 Mon 2007.
View 3 Replies
View Related
Nov 15, 2008
First and foremost I would like to congragulate you on this wondeful piece of code in the below link...
The query was to get a future date excluding Fridays and Holidays...
http://www.excelforum.com/excel-work...rkingdays.html
I have a similar query and therefore I pasted this link...
I actually wanted to get a future date using a Dynamic two day off as my the offs keep on changing as well as incorporate Holidays and Leaves if any..
Now Holidays would be official Public Holidays and
Leaves would be taken by the employee..
The code needs to pick the Leaves + Holidays and different offs maybe even more than 2 offs...
View 7 Replies
View Related
May 25, 2014
I am now trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.
View 1 Replies
View Related
Jun 24, 2012
I have hundreds of names in column D from D5 to D5000.
I need to insert 1 space before the start of the name.
E.g.
Now:
Smith
Result:
Smith
View 6 Replies
View Related
Jun 14, 2007
I am needing a macro that will ask for a month and If I type May. It will put 5/31/07 in H1 and then the same date but the prior year (5/31/06) in H2. It would be a real time save if the macro could also ask if the quarter needs to be updated and if yes, ask"input quarter", if 2 is typed then it puts 2nd in H3.
View 20 Replies
View Related
Mar 9, 2014
I'm trying to workout how to take a known initial date a repeating frequency and work out the next due date from today.
Example
Initial Date :- 1st of January 2014
Frequency :- every 5 weeks
Current Date :- 9th of March 2014
Next Due date should be :-12th of March 2014 (if I worked it out correctly from my paper calendar)
I want to use a cell formula to do this for different initial dates and varying frequency periods (the frequency will always be whole weeks i.e. 1,2,3,4,5,6,7,8,8,10)
View 4 Replies
View Related
Jun 6, 2014
I'm working on a macro code that would create a Purchase Order number based on that day's date. So it's pretty simple since all you need to do is have a macro insert the formula:
[Code] .......
However, i don't want in the PO number any "/" or "-", is there a way to omit these? And is it possible to also make the current year in two digits and not four?
So if the PO number were to be today's date then it would look like this "6614".
View 4 Replies
View Related
Jul 29, 2002
I have working on a project "vacation plan" in excel.. i want a small help. i will be entering all the details of the leave for eg. 1)name 2)employee code 3)no. of days eligible for leave 4)starting day & date of the leave 5) end day and date of the leave 6) no. of today days. on sheet1.
on sheet 2. i will have a calender for the entire year. i want this calender to get updated as soon as i put in the date in sheet1 with the names of the agents in the calender & if the leaves overlap, it should change the colour with a conditional formatting. i understand it's complicated. but with the help of u champs, i am dead sure that i will make. it. as i have done it earlier on many complicated projects.
View 9 Replies
View Related
Dec 17, 2009
I am creating a time sheet for a supplier & when the supplier enters a date into column A I would like a new line to be inserted below & include the formatting, formulas & data validation from the row above.
View 7 Replies
View Related
Jan 26, 2010
I want to make a booking/reservations report based on excel and I want it the following way; On my excel book I have a "bookingList" and "Planning". on the BookingList are listed all the bookings received. After inserting this data, I want a planning which could display all bookings by apartment.
I want to fill "planning" sheet automatically based on the bookinglist sheet, this to be showned, for exemple, all bookings listed, on "bookingList" Sheet, for apartment C1A, to be showned on "planning" by apartment and for the dates occupied in the same row. i.e., fill "planning" sheet based on all bookings in "BookingList" Sheet.
View 4 Replies
View Related
Jan 12, 2014
I am trying to create a calculator which will show start date and end date based on the specific date provided.
EX: column A has January 1, 2013, column B has Wednesday, Column C should have a start date which supposed to be 4 days ago (December 28).
View 6 Replies
View Related
May 7, 2014
I needs a formula (not VBA) to calculate the required start date.
I have to do a job of 14 working hours and this job must be finished on 05-may-2014 13:00
My working week is from monday u/i friday and every day I work from 08:00-16:00
At what time do I have to start the job to get it done in time.
The formula should give this result: 01-may-2014 15:00
View 3 Replies
View Related
May 26, 2014
i am trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.
View 4 Replies
View Related
Jun 12, 2014
Trying to automate the period part of the impt function
To calculate current value of loan i have the below formula below with the 3 being the current period
=IPMT(4.3%/12,3,5*12,-7000)/(4.3%/12)
What i would like to do is for the period to be self calcuating from current date and the loan start date. I can return a value in days using start date - today() and aware month function returns the month number but stuggling to find a way to work out cumulative month from the start date.
View 4 Replies
View Related
Oct 28, 2006
i need VB to select the start date of booking and autohighlights the "blank booking slot cells" until the end date that is input in Excel. You can visualise this as a room booking system. The left most column is the dates and the first row represents the different rooms type. E.g. if one guest books the Twin Deluxe No. 123 room on 23 Oct 2006 until 25 Oct 2006. We wish the VB can essentially help us identify the start date then begins highlighting the three slots for 23, 24 and 25 Oct on the column for the Twin Deluxe Room 123.
View 4 Replies
View Related
Jul 30, 2013
I am trying to create a resource capacity planning per project and I have some issues with some functions. Here is what I did :
1/ I have a workbook for each project with 4 sheets : "Project", "Pivot", "Project Identification", "Capacity"
2/ On the Project sheet I have the volume of man days for resources (rows, can be multiple according to the resource skill) per project phases (columns, always Gate 1 to 6).
3/ On the second sheet I have the pivot table of the first sheet which sum up the volume of man days for each resources per project phases.
4/ On the third sheet I have a project identification table with the columns Date, Week Number, Duration (Weeks), Phase (Gate 1 to Gate 6, so 6 rows). I required the user to enter the date of each Gate, the week number and duration are calculated.
5/ On the last sheet I have my capacity planning with:
- the number of columns is always 52 corresponding to a full year, but can start in the middle of the year, for example start week 30 to end week 29.
- the first row is the weeks numbers, the first cell is the week number of the Gate 1 date, the following cells are the previous cell +1 ( fx=IF(B1>51;1;B1+1) )
- the second row is the phase we are in at that week ( fx=VLOOKUP(B1;'Project Identification'!$B$2:$D$8;3;TRUE) )
- the following rows are the man days for each resources (1 row per resource), this is only the volume of man days for the phase identified in the sheet "Project" divided per the number of weeks for this phase. ( fx=IF(Pivot!$A2="";"";IF(C$2="";"";HLOOKUP(B$2;Pivot!$B$1:$G$4;ROW()-1;FALSE)/VLOOKUP(B$1;'Project Identification'!$B$2:$C$8;2;TRUE))) )
This is working ok if the project execution is within a year (for example from week 20 to week 41). But if the project is over 2 years (for example from week 41 year n to week 12 year n+1) it does not work at year changing.
For example if I have Gate 3 on 19/08/2013, Gate 4 on 30/11/2013, Gate 5 on 29/01/2014 and Gate 6 on 12/02/2014 then on the "Capacity" sheet for week 34 I will have Gate 3 but on week 35 it will switch directly to Gate 6 up to week 52 and then at week 1 I will have "#N/A".
View 3 Replies
View Related
Jun 26, 2007
Take a look at the attachment file. Those highlighted in yellow are entered by the user. What is the formula to calculate the End date in (A6) after the user has entered the start date (A2) & the number of weeks (A4)?
View 5 Replies
View Related
Dec 2, 2013
I would like to make a planning, to show in a report. Is this possible to do with Excel 2010? Or do I need another programm?
View 2 Replies
View Related
Oct 28, 2006
We are doing a project on a booking system and wish to use VB codes to autohighlight the slots from the start date until the end date.
View 9 Replies
View Related
Jul 30, 2007
This is a sub that uses the Find method to find a series of dates and copy them to another worksheet. The following error comes up: Object variable or With block variable not set. I have tried using a set command etc. but other errors end up coming up.
Private Sub CommandButton7_Click()
On Error Goto errorHandler
Dim startDate As String
Dim stopDate As String
Dim startRow As Integer
Dim stopRow As Integer
startDate = InputBox("Enter the Start Date: (mm/dd/yy)")
If startDate = "" Then End
stopDate = InputBox("Enter the Stop Date: (mm/dd/yy)")
If stopDate = "" Then End
'startDate = Format(startDate, "mm/??/yy")
'stopDate = Format(stopDate, "mm/??/yy")
startRow = Me.Columns("A").Find(startDate, _
LookIn:=xlValues, lookat:=xlWhole).Row
stopRow = Me.Columns("A").Find(stopDate, _
LookIn:=xlValues, lookat:=xlWhole).Row
Me. Range("A" & startRow & ":A" & stopRow).Copy _
Destination:=Worksheets("Report").Range("A1")
End
errorHandler:
MsgBox "There has been an error: " & Error() & Chr(13) _
& "Ending Sub.......Please try again", 48
End Sub
View 9 Replies
View Related
Jun 2, 2014
What I am trying to accomplish is, to add days from the start date (daily) and to stop adding at the end date.
Example:
(Column A) Start Date: 1/9/13
(Column B) End Date: 1/8/14
View 6 Replies
View Related
Mar 12, 2014
when I enter a start date and end date, it should autopopulate the columns with the dates in the middle including start date and end date.
View 1 Replies
View Related
May 26, 2006
I have one column( date) which I wanna set date range from VBA macro. The problem is I wanna use Autofill to fill from the start date to the specific end date, but with Autofill func I cannot do this.
I attached a sample to explain my problem. Please take a look and give me a hint to do this.
View 6 Replies
View Related
Jun 4, 2008
I have this column with a value like 04/06/2008. I will want another of the column to auto generate the date for the start of the week like 02/06/2008 which is a Monday.
View 14 Replies
View Related
Nov 12, 2008
Need a formula that will generate the ending date of task, adding therefore if needed the number of weekend(s) in between the start and end date to the End date.
Let us say: task is starting in 2008/11/11 the duration of the task is 7 days. So, we should get an End Date= 2008/11/19.
2008 11/11 11/12 11/13 11/14 11/15 11/16 11/17 11/18 11/19
Tue Wed Thu Fri Sat Sun Mon Tue Wed
View 3 Replies
View Related
Nov 25, 2013
I've attached a sample of something I'm working on and the layout it's currently in.
I have a list of customers and an amount per month, in the sample, I want to be able to use a formula that will select which month the customer first has an amount >0 and in the end date column, I want to see when the customer then stopped showing an amount >0.
I have a massive list of these customers and sorting them each month is difficult.
DaveStart and End Month Sample.xlsx
View 2 Replies
View Related
Jan 24, 2010
1. If I enter a date in B3, then D3 will be S, and if I enter date in C3, D3 will be left blank while E3 result is D (Done). To have a clear view, I have attached the excel sheet.
View 3 Replies
View Related
Nov 22, 2013
I want to calculate the end date of my German courses. This is how it works:
A course consists of 60 LU*. The course can occur i. e. three times a week: Monday, Wednesday and Friday. In each day the course lasts 2 LU, which means 6 LU each week. There is no course on Tuesday, Thursday, Saturday, Sunday and on holidays. Therefore this type of course that begins on 18-Nov-2013 will end on 03-Feb-2014.
Another course which occurs Tuesday, Thursday and Saturday, and respectively has 2 LU on Tuesday, 2 LU on Thursday and 3 LU on Saturday and starts on 03-Dec-2013 will end on 06-Feb-2014.
Therefore I want to create a worksheet where I set the start date, choose the days and respectively the LU amount on those days. The end date shall be calculated according to these criteria.
The workday function on excel cannot do this and I do not have any programming skills to work with VBA.
Legend:
*LU = lesson units; 1 LU is 45 minutes
Holidays:
28-Nov-13
29-Nov-13
08-Dec-13
09-Dec-13
25-Dec-13
31-Dec-13
01-Jan-14
[Code] ...........
View 7 Replies
View Related
Feb 20, 2008
I'm trying to write a macro similar to the one found here: here:http://www.techonthenet.com/excel/macros/checkbox.php.
Rather then use a textbox, I would like the cell to display the date when text is inserted in the cell to the left.
ie. I insert text (the letter 'a') in cell E11, and the date appears in cell F11.
I would also like the macro to do this for a range of cells ie. for E11 to F21, then from G11 to H21, then from I11 to J21, all the way to column IV.
View 9 Replies
View Related