crossettman
New Member
I have a spreadsheet that has records of mileage that I drive for work. Col. A - Date Col. B - From City Col C - To City Col D - Beginning Odometer Col E - Ending Odometer Col F - Total Mileage (Col e - Col d) I want to use VBA that when I click a button it will subtotal the sheet by the months. The sheet will have daily entries on it. It may have 2- 25 entries for 1 day and the same for each day of the month. I can get it to subtotal by the day, but I want it to subtotal by the month. (List each record of the same month and subtotal that month, skip a line and do the next month the same way)
I also have a drop down list of months. I want to choose a month (such as July) and have VBA to copy all the records of that particular month on another sheet and give me a total mileage for that month.
Thank you,
Don (crossettman)
I also have a drop down list of months. I want to choose a month (such as July) and have VBA to copy all the records of that particular month on another sheet and give me a total mileage for that month.
Thank you,
Don (crossettman)