HELP WITH VBA!!!!

Please post any questions regarding the program here.

Moderator: 2020vision

HELP WITH VBA!!!!

Postby MIKEREED » Tue Feb 12, 2008 10:36 pm

I have been trying to create a macro in excel VBA which will capture the contents of a cell at a certain time before the off and paste it to sheet 3 but each time its captured from a race i don't want it to paste in the same cell so i can build up a kind of history. I am a newbie VBA user.
Very Confused 2003 Excel user!!!:?
MIKEREED
 
Posts: 3
Joined: Thu Jan 24, 2008 10:27 am

Postby phrenetic » Thu Feb 14, 2008 2:42 pm

You just need to create a variable to hold the current row and then increment it by one before writing out the copied value.

If you post up what you have already, I'm sure we can tweak it for you.

Alistair
phrenetic
 
Posts: 142
Joined: Tue Oct 16, 2007 8:44 pm

Postby MIKEREED » Thu Feb 14, 2008 8:04 pm

Thanks for the reply Alistair.I have absolutely no knowledge of vba and having looked at other posts the more I see the more confused I become.Any help or pointers would be much appreciated.
Mike
MIKEREED
 
Posts: 3
Joined: Thu Jan 24, 2008 10:27 am

Postby Captain Sensible » Thu Feb 14, 2008 9:25 pm

Something like

Worksheets("Sheet3").Range("A65536").End(xlUp).Offset(1, 0).Value = Worksheets("Sheet1").Range("A1").Value

Would copy the contents of cell A1 from sheet1 to Sheet3 starting at A1 and keep adding data to A2 A3 etc
User avatar
Captain Sensible
 
Posts: 2923
Joined: Sat Nov 19, 2005 2:29 pm

Postby MIKEREED » Fri Feb 15, 2008 2:43 pm

Thanks for your help guys.I'll give it a go but i maybe back in touch lol.
MIKEREED
 
Posts: 3
Joined: Thu Jan 24, 2008 10:27 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.