• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Help needed

HussainSA

New Member
Hello,
when I run this macro a message shows that Error: Sub or Function not defined. The code is as follows-

>>> use code - tags <<<
Code:
Sub Macro1()
'
' Macro1 Macro
'
' Keyboard Shortcut: Ctrl+m
'
    SolverOk SetCell:="$I$49", MaxMinVal:=1, ValueOf:=0, ByChange:="$C$37:$C$46", _
        Engine:=1, EngineDesc:="GRG Nonlinear"
    SolverOk SetCell:="$I$49", MaxMinVal:=1, ValueOf:=0, ByChange:="$C$37:$C$46", _
        Engine:=1, EngineDesc:="GRG Nonlinear"
    SolverSolve
End Sub

Can anyone find the error and correct it?
 
Last edited by a moderator:
HussainSA, according to any forum rules you should modify your thread title according to your issue as every thread 'needs help' …​
 
Back
Top