Frank Freese
asked on
Problem with VBA code in sub routine
For I = 3 To 14
C(I) = Quotient(A3, B3)
Next I
The above code returns a compile error Sub or Function not defined.
There are values in A3:A14 and B3:B14 and I'm teaching the use of the Quotient function.
I've tried to hide the results using the ";;;" but that does not work on Errors. Instead I am used the ClearContents. When the user selects a command button labeled Display Data I need to repopulated C(3):C(14) with the Quotient function. which is the code you see above.
I thought of creating a user-defined function but that failed.
for sure you will get an error as Quotient is not defined as a function or Sub
what do you want to accomplish ?
A divide by B and take the full part ? that is the quotient
gowflow
what do you want to accomplish ?
A divide by B and take the full part ? that is the quotient
gowflow
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you both
gowflow