Moderator: 2020vision
by Roadhouse » Thu Jul 23, 2015 2:32 pm
by osknows » Thu Jul 23, 2015 3:14 pm
Option Explicit
Sub test()
Dim i As Long
Dim wbArray(1 To 7) As Workbook
Dim fileName As String
'Assume workbook filenames are Workbook1.xlsm to Workbook8.xlsm
'Load workbooks to Array
For i = LBound(wbArray, 1) To UBound(wbArray, 1)
fileName = Replace("C:\Users\o\Desktop\New folder\Workbook{0}.xlsm", "{0}", i)
Set wbArray(i) = GetObject(fileName)
Next i
'Save copy of workbooks with timestamp
For i = LBound(wbArray, 1) To UBound(wbArray, 1)
fileName = Replace(wbArray(i).FullName, ".", "_" & Format(Now, "yyyymmdd") & ".")
wbArray(i).SaveCopyAs (fileName)
Next i
' 'CleanUp if needed
' For i = LBound(wbArray, 1) To UBound(wbArray, 1)
' wbArray(i).Close
' Set wbArray(i) = Nothing
' Next i
End Sub
by Roadhouse » Thu Jul 23, 2015 3:42 pm
by osknows » Thu Jul 23, 2015 3:46 pm
by Roadhouse » Thu Jul 23, 2015 3:55 pm
fileName = Replace("C:\Users\Administrator\Downloads\New folder\Workbook{0}.xlsm", "{0}", i)
by osknows » Thu Jul 23, 2015 4:47 pm
by Roadhouse » Thu Jul 23, 2015 5:55 pm
by osknows » Thu Jul 23, 2015 6:04 pm
by Roadhouse » Thu Jul 23, 2015 6:12 pm
by osknows » Thu Jul 23, 2015 6:26 pm
by osknows » Thu Jul 23, 2015 6:27 pm
by Roadhouse » Thu Jul 23, 2015 8:10 pm
by Roadhouse » Thu Jul 23, 2015 11:49 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.