LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Set Target cell is not behaving


The code below often causes "out of memory or resources
exhausted" error messages.

SolverOk SetCell:="$L$7", MaxMinVal:=2, ValueOf:="0",

ByChange:="$B$7" <

But when I go back and look at the Menu = Tools =
solver, the solver seems to have forgotten the VB line
above and I have to manually reclick to 'Set Target Cell
to $L$7, Equal to 0' and then click Close. (and I
usually leave ByChange to blank).

This works and the macro is back on its merry way.

Why does the VB code appear to not work correctly? Any
tips to recode it so that I don't have to do it manually?

Thanks!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Target cell reference moves when target is cut and pasted Illya Teideman Excel Discussion (Misc queries) 5 May 31st 07 11:34 AM
In cell drop down menu with seprerate numerical target cell Remco Excel Discussion (Misc queries) 2 October 24th 06 11:39 AM
Go to target cell Ed Excel Discussion (Misc queries) 3 May 3rd 06 11:47 PM
In adjacent cell, show last date modified of target cell. manxman Excel Discussion (Misc queries) 0 March 17th 06 10:47 PM
Target value, Next cell D.Parker Excel Discussion (Misc queries) 3 May 4th 05 09:00 PM


All times are GMT +1. The time now is 04:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"