VBA for company valuation

rhigi

New Member
Joined
Apr 10, 2021
Messages
1
Office Version
  1. 365
  2. 2013
Platform
  1. MacOS
Hello everyone, as a beginner in VBA, I am struggling doing this step of an exercise, I don't know how to write the code, can someone help me please?
Calculation Discounted Total Value
It begins with input boxes asking for the EBIT then the income tax, the depreciation, the change in working capital and the capex.
It will do the following calculation to find the Free cash flow to the firm:
EBIT - income tax + depreciation - change in working capital - capex.
From the free cash flow found and the discount rate that we previously would have determined in an input box it will give the discounted cash flow: free cash flow / (1 + discount rate) ^ year number.
We would have to enter values for each year.
At the end the program will give us the discounted total value.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,215,446
Messages
6,124,904
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top