TheWennerWoman
Active Member
- Joined
- Aug 1, 2019
- Messages
- 303
- Office Version
- 365
- Platform
- Windows
Hello,
We are creating a mileage expenses claim form. In the UK, in a tax year you can claim £0.45 per mile if you use your private car on business use upto 10,000 miles. Every mile you claim after 10,000 is paid at £0.25 per mile.
On the form, we have some code that gets the total miles claimed during the tax year for the user. This goes into cell A4.
The user enters details of their mileage claim in columns A10-F50, miles claimed will go in cells C10 down to C50. There might only be one line, there might be twenty. So, assume that cell A4 contains 9900, if the user enters 101 into cell C10, I'd like a message to pop up saying "your claim is being split". At which point, in this example, cells A10-F10 will contain the claim but miles will be 100. Then an additional line is added, cells A11-F11 will contain the same data but miles claimed will be 1.
Does that make sense?
We are creating a mileage expenses claim form. In the UK, in a tax year you can claim £0.45 per mile if you use your private car on business use upto 10,000 miles. Every mile you claim after 10,000 is paid at £0.25 per mile.
On the form, we have some code that gets the total miles claimed during the tax year for the user. This goes into cell A4.
The user enters details of their mileage claim in columns A10-F50, miles claimed will go in cells C10 down to C50. There might only be one line, there might be twenty. So, assume that cell A4 contains 9900, if the user enters 101 into cell C10, I'd like a message to pop up saying "your claim is being split". At which point, in this example, cells A10-F10 will contain the claim but miles will be 100. Then an additional line is added, cells A11-F11 will contain the same data but miles claimed will be 1.
Does that make sense?