Results 1 to 3 of 3

Solver Issue

Threaded View

wz4np1 Solver Issue 08-15-2008, 01:51 PM
wz4np1 Come on............someone... 08-15-2008, 10:43 PM
shg According to Help, SetCell... 08-16-2008, 05:38 PM
  1. #1
    Registered User
    Join Date
    03-02-2008
    Posts
    39

    Solver Issue

    How do I utilize the solver function in VBA without referencing cells but instead using my variables in VBA? Here t is not changing. I get no errors but it's not solving for t,it remains 1 at the end.
    t = 1
    SolverReset
    SolverOk SetCell:="(2 * Application.Abs(msol) * 3 * Radius) / ((Pi / 4) * (Radius ^ 4 - (Radius - t) ^ 4))", MaxMinVal:=3, ValueOf:=AllowStress, ByChange:="t"
    SolverSolve userFinish:=True
    SolverFinish KeepFinal:=1
    
    Worksheets("ReadMe").Range("A2") = t
    Thanks,
    Last edited by VBA Noob; 08-15-2008 at 02:07 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1