I have a couple of things that i need to automate in Excel using VBA.
1) I input a beginning date for a policy and an ending date. Based on the two dates, first i want the macro to put the number of months onto a cell on that sheet.
2) then depending on the number of months, i want it to populate that many rows with 1,2,3.....n (the number) going down on a column which may say (number of months).
3) as long as the month is less than equal to 12 the column next to it displays 1 (the year column). as soon as the number in the months is greater than 12, the year becomes 2 all the way to 24th month and continuing so on.
So in essence if the policy was active for 5 months, it populates that many rows, and if policy was active for 68 months, i want it to display 1-68 down and the corresponding year from 1-5
Lastly,
Based on the number of months say 15, i want a message box to say, please input the opening prices for this fund every month. so i take 15 inputs and put it in the next column and depending on that it gives me a admin charge on another column based on a ratio. After i've done the above, I'll ask how to get the ratio
PLEASE DO HELP AS THIS IS NEEDED ASAP.
Bookmarks