Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 6 Then Call calc09()
Sub calc09() is inside a form code module (frm01)
I tried:
If Target.Column = 6 Then Call frm01.calc09()
I Also renamed Sub calc09() – to Public Sub calc09() – without result.
I got an Error message:
Compile error: Sub or function not defined
Tools – References – Solver check box.
If Solver doesn’t appear under Available References, click Browse and open Solver.xlam in the C:\Program Files\Microsoft Office\Office14\Library\SOLVER