garrypsmith
New Member
- Joined
- Jul 3, 2023
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi,
I am a complete novice.
I have a macro enabled Excel template called 'Expense Form', which currently contains a macro that increments the statement number by 1 each time it's opened (I've managed to find appropriate coding for this).
I would now like to add a macro that extracts the previous month's closing mileage, therefore making it the current month's opening mileage but have no idea about the coding.
Obviously I'm working on the July spreadsheet (the previous was saved as Jun '23.xlsm) and the cell I need to extract from Jun spreadsheet is "D42"
Any suggestion would be greatly appreciated.
Thanks,
Garry
I am a complete novice.
I have a macro enabled Excel template called 'Expense Form', which currently contains a macro that increments the statement number by 1 each time it's opened (I've managed to find appropriate coding for this).
I would now like to add a macro that extracts the previous month's closing mileage, therefore making it the current month's opening mileage but have no idea about the coding.
Obviously I'm working on the July spreadsheet (the previous was saved as Jun '23.xlsm) and the cell I need to extract from Jun spreadsheet is "D42"
Any suggestion would be greatly appreciated.
Thanks,
Garry