This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub CalculateDepreciation() | |
| ' Clear previous output | |
| Range("B12:F1000").ClearContents | |
| ' Read input values | |
| Dim Asset As String | |
| Dim Cost As Double, Residual As Double, Life As Double, Rate As Double | |
| Dim Method As String, UnitsProduced As Double, TotalUnits As Double | |
| Asset = Range("B2").Value |