[FONT="]This is the first part of my assignment. I am about to go crazy because I cannot figure out how to do any of this. I know how to go to VBA and create the subroutine, but after that i'm pretty much lost. Anyone have any ideas. I am extremely desperate! I just need something to look at to learn from. I can't just read notes and understand what is being talked about. I know my teacher wants us to use "do, while" and "do until " statements. Thanks[/FONT]
[FONT="]Barqsman[/FONT]
[FONT="]Assignement:[/FONT]
[FONT="]1. [/FONT][FONT="]Create a subroutine called “NetPresentValue.” This subroutine calculates the Net Present Value of a cash flow. <?xml:namespace prefix = o /><o></o>[/FONT]
[FONT="][/FONT]
[FONT="]a. [/FONT][FONT="]Allow the user to input the expected profits for each year for the next 10 years, as well as the expected interest rate. Ensure that the user is entering numerical values. Store these values on a spreadsheet called “UserInput.” Test the subroutine by calculating the Net Present Value.<o></o>[/FONT]
[FONT="][/FONT]
[FONT="]b. [/FONT][FONT="]Create a button titled “Net Present Value.” Assign the subroutine to this button. On the click of the button have the Net Present Value calculated is displayed in a cell of the “Analyses” spreadsheet. [/FONT]
[FONT="]<o></o>[/FONT]
[FONT="]Barqsman[/FONT]
[FONT="]Assignement:[/FONT]
[FONT="]1. [/FONT][FONT="]Create a subroutine called “NetPresentValue.” This subroutine calculates the Net Present Value of a cash flow. <?xml:namespace prefix = o /><o></o>[/FONT]
[FONT="][/FONT]
[FONT="]a. [/FONT][FONT="]Allow the user to input the expected profits for each year for the next 10 years, as well as the expected interest rate. Ensure that the user is entering numerical values. Store these values on a spreadsheet called “UserInput.” Test the subroutine by calculating the Net Present Value.<o></o>[/FONT]
[FONT="][/FONT]
[FONT="]b. [/FONT][FONT="]Create a button titled “Net Present Value.” Assign the subroutine to this button. On the click of the button have the Net Present Value calculated is displayed in a cell of the “Analyses” spreadsheet. [/FONT]
[FONT="]<o></o>[/FONT]
Last edited by a moderator: