View Full Version : Run time error help
I get this error when I test my code and after debugging this line gets highlighted. I've looked up what the error means but can't seem to figure out how to fix it.
1709717098
Thanks!
Write "Option Explicit"
Dim x1 as double
Dim x2 as double
Dim xr as double
Dim es as double
Dim n as long
Now it's saying "Compile error:Variable not defined" and highlighting the Sub secant() line
declare all variables
Dim x1 as double
Dim x2 as double
Dim xr as double
Dim es as double
Dim n as long
function procedure
private function fx(x as double) as double
fx=(-x^2)+x+0.75
end function
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.