Forum Discussion
rforster-10
Mar 12, 2022Copper Contributor
RATE function in VBA not working
Hello Everyone, My issue is that the RATE formula works in my Excel spreadsheet when I use the following: However, when I try to replicate this in VBA code, I get Run-time error '5' ...
JKPieterse
Mar 14, 2022Silver Contributor
Make that:
interestRate = Application.WorksheetFunction.Rate(periods, payment, principal, futureValue)
interestRate = Application.WorksheetFunction.Rate(periods, payment, principal, futureValue)