Private Declare Function Solve Lib "c:\Program Files\Microsoft Office\OFFICE11\Library\SOLVER\SOLVER32.DLL" (Optional SetCell As Variant, Optional MaxMinVal As Variant, Optional ValueOf As Variant, Optional ByChange As Variant) As Variant
Private Sub Command1_Click()
Solve SetCell:="$J$4", MaxMinVal:=1, ValueOf:="0", ByChange:="$A$2"
End Sub
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 58