Bit of help required with Excel

Please post any questions regarding the program here.

Moderator: 2020vision

Bit of help required with Excel

Postby doris_day » Tue Aug 17, 2010 10:32 am

I have an algorithm for in-play soccer. I turn the trigger on and off by putting "y" in cell V1 (I know I could use a button instead but I havent much experience with buttons).

What I need is for this V1 cell to be changed to "n" when the market is "Suspended" and left as "n" until I change it back to "y". I can do this so it becomes "n" while "Suspended" is shown but don't know how to make it stay that way until I change it manually.

I'm sure there must be a simple answer.
'He was looking for the card so high and wild he'd never need to deal another' - Leonard Cohen
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Postby Captain Sensible » Tue Aug 17, 2010 11:07 am

Probably easiest just to add a few lines of VBA to any existing Worksheet_Change or Worksheet_Calculate() routines on your sheet


If Range("F2").Value = "Suspended" Then
Range("V1").Value = "No"

End If
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby doris_day » Tue Aug 17, 2010 11:48 am

Thanks for that. But will it stay "No" after "Suspended" goes and the game continues ?
'He was looking for the card so high and wild he'd never need to deal another' - Leonard Cohen
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am

Postby doris_day » Tue Aug 17, 2010 11:53 am

Yes, just tested it. Thats great thanks a lot...
'He was looking for the card so high and wild he'd never need to deal another' - Leonard Cohen
User avatar
doris_day
 
Posts: 968
Joined: Fri Nov 02, 2007 12:34 am


Return to Help

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 45 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.