Hey guys, need a bit of help to create an excel model for an assignment. If you do finance, I'm creating a model that automatically calculates the efficient frontier, so I need to use solver, and thus need to use a macro, as solver is a piece of **** that only runs once.
What I need help with;
Why does solver sometimes not show up in my macro recorder and sometimes it does? I've tried resetting solver everytime I use it but it still sometimes doesn't show up.
I also get a compile error, something to do with 'sub', it highlights the first line of code with the name of the macro in yellow. - I referenced solver so I think the issue might be solved, but recording solver still doesn't work.
How would you go about creating a range for the 'value of' function in solver...it only accepts numbers that are manually put in, I want to make the 'value of' based off a percentile range that is relevant to the minimum variance portfolio or the optimal portfolio...I hope that makes sense...basically I need to be able to cell reference the 'value of' box because numbers I put in there won't always be relevant to the returns and standard deviation given.
Cheers for the help guys
Bookmarks