VBA Code for 'Results' Sheet

Please post any questions regarding the program here.

Moderator: 2020vision

VBA Code for 'Results' Sheet

Postby Tumba » Sun Feb 25, 2018 2:47 am

Hi All
As we know the results sheet drops each result down one row as the sheet is updated.
I am after some Code that would NUMBER each new row as they appear.
This would be done using Col K.

So the first result would show in row 2 and would receive number 1 in col K
The next result would push the first down one row and would become number 2 and so on.

The numbered rows retain their same number originally given.

I need this to happen with each update..very important.

Hope this makes sense and that someone can help me with it.

Cheers
Tumba
 
Posts: 2
Joined: Sun Feb 25, 2018 2:35 am

Re: VBA Code for 'Results' Sheet

Postby Captain Sensible » Sun Feb 25, 2018 2:53 pm

Not too sure what you're after but it sounds like you simply want to label column K with the corresponding Row number minus 1 for any row where a result has been logged.

I don't actually use the results sheet so maybe I'm missing something when you require "The numbered rows retain their same number originally given." I thought the results are simply ordered by bet reference so will always retain their initial positions in relation to the other results. To find the last column with data then fill in column K with the row number minus 1 is simple enough but I don't know if that's what you're hoping to do.
User avatar
Captain Sensible
 
Posts: 2883
Joined: Sat Nov 19, 2005 2:29 pm

Re: VBA Code for 'Results' Sheet

Postby Tumba » Sun Feb 25, 2018 10:02 pm

Hi Captain et al
I've managed to solve my scenario by using an additional sheet and some formulae :)

Cheers
Tumba
Tumba
 
Posts: 2
Joined: Sun Feb 25, 2018 2:35 am


Return to Help

Who is online

Users browsing this forum: No registered users and 38 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.

cron