Moderator: 2020vision
by cjones198 » Mon Sep 28, 2020 4:18 pm
by cjones198 » Mon Sep 28, 2020 4:20 pm
by Captain Sensible » Mon Sep 28, 2020 4:26 pm
by Captain Sensible » Mon Sep 28, 2020 4:27 pm
cjones198 wrote:Just so im clear
if declare Price as public at the top of the market page it can be accessed else where in the workbook? but will it not retain its value relative to the worksheet change?
Option Explicit
Public Price As Currency
Sub reset()
Application.EnableEvents = True
Application.Calculation = xlCalculationAutomatic
End
End Sub
by cjones198 » Mon Sep 28, 2020 4:41 pm
by Captain Sensible » Mon Sep 28, 2020 4:47 pm
by cjones198 » Mon Sep 28, 2020 6:36 pm
by cjones198 » Mon Sep 28, 2020 10:43 pm
by Captain Sensible » Tue Sep 29, 2020 11:42 am
Worksheets("Sheet1").Range("Q2").Value = -1
If Worksheets("Sheet1").Range("J3").Value = "L" Then
Worksheets("Sheet1").Range("Q2").Value = 1000
else
Worksheets("Sheet1").Range("Q2").Value = -1
End If
by cjones198 » Tue Sep 29, 2020 1:31 pm
by Captain Sensible » Tue Sep 29, 2020 2:24 pm
Option Explicit
Public Today As Date, triggerQuickPickListReload As Boolean, triggerFirstMarketSelect As Boolean
Public currentMarket As String
Sub logBalance()
Dim r As Integer
r = 2
While Sheet2.Cells(r, 1) <> ""
r = r + 1
Wend
Sheet2.Cells(r, 1) = currentMarket
Sheet2.Cells(r, 2) = Worksheets("Sheet1").Range("I2").Value
End Sub
Sub reloadQPL()
If Today <> Date Then
Today = Date
triggerQuickPickListReload = True
End If
If triggerQuickPickListReload Then
triggerQuickPickListReload = False
Worksheets("Sheet1").Range("Q2").Value = -3
triggerFirstMarketSelect = True
Else
If triggerFirstMarketSelect Then
triggerFirstMarketSelect = False
Worksheets("Sheet1").Range("Q2").Value = -5
End If
End If
End Sub
Sub reset()
End
Application.EnableEvents = True ' turn events back on
Application.Calculation = xlCalculationAutomatic
End Sub
Call reloadQPL
by cjones198 » Tue Sep 29, 2020 2:41 pm
by Captain Sensible » Tue Sep 29, 2020 3:13 pm
Dim i As Integer
Dim x As Integer
i = WorksheetFunction.Floor(getTicks(2.5, 2.91), 2)
i = Abs(i) / 2
For x = 1 To i
MsgBox x
Next x
by cjones198 » Tue Sep 29, 2020 3:40 pm
by cjones198 » Tue Sep 29, 2020 3:41 pm
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.